Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 87.89 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9995/0.9995, allocations: 173.3 MB / 201.1 MB, free: 8.961 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.393e-05, allocations: 2.312 kB / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002091/0.002115, allocations: 1.553 MB / 269.5 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003552/0.00247, allocations: 147.4 kB / 269.7 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.00255, allocations: 3.938 kB / 269.7 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.5e-05/0.002605, allocations: 7.938 kB / 269.7 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.002753, allocations: 3.984 kB / 269.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.002979, allocations: 43.77 kB / 269.8 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.003069, allocations: 31.86 kB / 269.8 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003175, allocations: 15.97 kB / 269.8 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.003226, allocations: 27.92 kB / 269.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.003264, allocations: 7.984 kB / 269.8 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.003286, allocations: 0 / 269.8 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.003297, allocations: 4 kB / 269.8 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.003344, allocations: 11.94 kB / 269.8 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.003373, allocations: 11.92 kB / 269.9 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003476, allocations: 35.84 kB / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003478, allocations: 0 / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003478, allocations: 0 / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.003483, allocations: 0 / 269.9 MB, free: 4.359 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003931/0.003876, allocations: 400.3 kB / 270.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.003922, allocations: 8.922 kB / 270.3 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.003978, allocations: 12.89 kB / 270.3 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.004232, allocations: 136.5 kB / 270.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.004244, allocations: 384 / 270.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.004257, allocations: 4.375 kB / 270.4 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.004525, allocations: 137.5 kB / 270.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.004531, allocations: 192 / 270.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.00454, allocations: 384 / 270.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.004548, allocations: 4.375 kB / 270.6 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.004572, allocations: 15.86 kB / 270.6 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.004829, allocations: 263.5 kB / 270.9 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.004965, allocations: 66.12 kB / 270.9 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.004998, allocations: 27.42 kB / 270.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.005013, allocations: 4 kB / 271 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.005033, allocations: 33.39 kB / 271 MB, free: 3.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005035, allocations: 4 kB / 271 MB, free: 3.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001478/0.005182, allocations: 65.52 kB / 271.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.005227, allocations: 81.11 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.005314, allocations: 185.9 kB / 271.3 MB, free: 2.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.005324, allocations: 29.7 kB / 271.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.005368, allocations: 138.7 kB / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.005376, allocations: 4 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.005401, allocations: 23.33 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.005504, allocations: 496.1 kB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.005515, allocations: 3.938 kB / 272 MB, free: 2.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.00552, allocations: 4.125 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.005544, allocations: 15.69 kB / 272 MB, free: 1.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.005546, allocations: 0 / 272 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.09e-05/0.005607, allocations: 37.69 kB / 272 MB, free: 1.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.005623, allocations: 4 kB / 272.1 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.005629, allocations: 3.938 kB / 272.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005642, allocations: 0 / 272.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.005689, allocations: 4 kB / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005694, allocations: 0 / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.005711, allocations: 4.094 kB / 272.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005716, allocations: 3.938 kB / 272.1 MB, free: 1.93 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.00579, allocations: 156.6 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.005838, allocations: 49.64 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.005867, allocations: 12.28 kB / 272.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00587, allocations: 4.219 kB / 272.3 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.005875, allocations: 8 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.005879, allocations: 3.984 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.005972, allocations: 124.6 kB / 272.4 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005973, allocations: 0 / 272.4 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.006007, allocations: 12 kB / 272.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006009, allocations: 0 / 272.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006015, allocations: 0 / 272.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.006017, allocations: 3.938 kB / 272.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006018, allocations: 4 kB / 272.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.006116, allocations: 211.5 kB / 272.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.006146, allocations: 15.95 kB / 272.7 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.006155, allocations: 0 / 272.7 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.006183, allocations: 3.938 kB / 272.7 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.00621, allocations: 7.984 kB / 272.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.006213, allocations: 7.938 kB / 272.7 MB, free: 1.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.006258, allocations: 142.4 kB / 272.8 MB, free: 1.098 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006258, allocations: 0 / 272.8 MB, free: 1.098 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.006388, allocations: 4 kB / 272.8 MB, free: 1.094 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.59e-05/0.006454, allocations: 99.25 kB / 272.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.006527, allocations: 19.61 kB / 272.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006529, allocations: 0 / 272.9 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.006539, allocations: 11.69 kB / 273 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.006772, allocations: 24.09 kB / 273 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.007041, allocations: 164.7 kB / 273.1 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.007082, allocations: 59.34 kB / 273.2 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.007097, allocations: 4 kB / 273.2 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.007121, allocations: 8.5 kB / 273.2 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007122, allocations: 0 / 273.2 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of Templates: time 0.002339/0.009461, allocations: 0.5381 MB / 273.7 MB, free: 116 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6839402546174824]