Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001454, allocations: 174.6 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 241.4 MB, free: 9.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008457, allocations: 97.91 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4288, allocations: 81.14 MB / 483.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4291, allocations: 87.94 kB / 484 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.4467, allocations: 6.551 MB / 490.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4468, allocations: 0 / 490.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.867e-05/0.4468, allocations: 4 kB / 490.5 MB, free: 8.566 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009097/0.4477, allocations: 0.5082 MB / 491 MB, free: 8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4478, allocations: 8.031 kB / 491 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4479, allocations: 20.66 kB / 491.1 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.4485, allocations: 270.8 kB / 491.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4485, allocations: 4.375 kB / 491.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4485, allocations: 4.375 kB / 491.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.4489, allocations: 167.2 kB / 491.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4489, allocations: 192 / 491.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4489, allocations: 7.938 kB / 491.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.449, allocations: 0 / 491.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4491, allocations: 31.98 kB / 491.5 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.4497, allocations: 370.3 kB / 491.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.45, allocations: 111.9 kB / 492 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.4501, allocations: 46.56 kB / 492.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.4501, allocations: 0 / 492.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.4503, allocations: 79.31 kB / 492.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.4503, allocations: 0 / 492.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004353/0.4508, allocations: 145.6 kB / 492.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.4509, allocations: 132.5 kB / 492.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.4513, allocations: 268.8 kB / 492.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4513, allocations: 33.7 kB / 492.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.4514, allocations: 116.2 kB / 492.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.4514, allocations: 15.75 kB / 492.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.4514, allocations: 8 kB / 492.8 MB, free: 5.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4516, allocations: 334.8 kB / 493.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.4517, allocations: 20 kB / 493.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4518, allocations: 69.98 kB / 493.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.452, allocations: 80.25 kB / 493.3 MB, free: 5.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.452, allocations: 0 / 493.3 MB, free: 5.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.4522, allocations: 117.4 kB / 493.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4522, allocations: 4 kB / 493.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4523, allocations: 7.938 kB / 493.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4523, allocations: 0 / 493.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.4524, allocations: 16.12 kB / 493.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4524, allocations: 3.984 kB / 493.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.4525, allocations: 8.312 kB / 493.5 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4525, allocations: 0 / 493.5 MB, free: 5.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4527, allocations: 153.7 kB / 493.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.4528, allocations: 65.44 kB / 493.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.4531, allocations: 115.3 kB / 493.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4531, allocations: 4 kB / 493.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4531, allocations: 0 / 493.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4531, allocations: 7.938 kB / 493.8 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.4534, allocations: 229.5 kB / 494 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4534, allocations: 0 / 494 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.4534, allocations: 8 kB / 494.1 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4534, allocations: 0 / 494.1 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4534, allocations: 11.98 kB / 494.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4535, allocations: 3.938 kB / 494.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4535, allocations: 0 / 494.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4537, allocations: 162.5 kB / 494.2 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.4539, allocations: 120.8 kB / 494.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4539, allocations: 0 / 494.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.454, allocations: 11.98 kB / 494.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.454, allocations: 4 kB / 494.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4541, allocations: 8 kB / 494.4 MB, free: 4.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.4543, allocations: 196.5 kB / 494.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4543, allocations: 0 / 494.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.4546, allocations: 39.89 kB / 494.6 MB, free: 4.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.4556, allocations: 421.7 kB / 495 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.456, allocations: 76.03 kB / 495.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.456, allocations: 4.062 kB / 495.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.4561, allocations: 31.97 kB / 495.1 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4566, allocations: 60.5 kB / 495.2 MB, free: 3.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.4574, allocations: 348.6 kB / 495.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4578, allocations: 0.7322 MB / 496.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.4579, allocations: 21.41 kB / 496.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.458, allocations: 19.44 kB / 496.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of SimCode: time 2.986e-06/0.458, allocations: 0 / 496.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of Templates: time 0.006772/0.4647, allocations: 2.353 MB / 498.6 MB, free: 120 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches