Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009257/0.0009257, allocations: 181.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.2 MB / 219 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00078/0.0007797, allocations: 93.12 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08401/0.08401, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.333e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4862, allocations: 81.77 MB / 0.506 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4865, allocations: 78.88 kB / 0.5061 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.5018, allocations: 6.322 MB / 0.5122 GB, free: 9.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5019, allocations: 0 / 0.5122 GB, free: 9.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.5019, allocations: 3.812 kB / 0.5122 GB, free: 9.668 MB / 330.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.000483/0.5024, allocations: 466.7 kB / 0.5127 GB, free: 9.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5024, allocations: 11.41 kB / 0.5127 GB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.5025, allocations: 27.41 kB / 0.5127 GB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5029, allocations: 261.8 kB / 0.513 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5029, allocations: 7.766 kB / 0.513 GB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5029, allocations: 7.562 kB / 0.513 GB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.5032, allocations: 142.5 kB / 0.5131 GB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5033, allocations: 0 / 0.5131 GB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.5033, allocations: 0 / 0.5131 GB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.5033, allocations: 3.875 kB / 0.5131 GB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.5034, allocations: 36.64 kB / 0.5132 GB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.5038, allocations: 369.2 kB / 0.5135 GB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.504, allocations: 107.4 kB / 0.5136 GB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.504, allocations: 40.42 kB / 0.5137 GB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.5041, allocations: 0 / 0.5137 GB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.5042, allocations: 81.3 kB / 0.5137 GB, free: 8.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5042, allocations: 3.812 kB / 0.5137 GB, free: 8.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002506/0.5045, allocations: 110.3 kB / 0.5138 GB, free: 8.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5045, allocations: 136.2 kB / 0.514 GB, free: 8.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.5048, allocations: 236 kB / 0.5142 GB, free: 8.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5048, allocations: 29.55 kB / 0.5142 GB, free: 8.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.5049, allocations: 127.1 kB / 0.5143 GB, free: 7.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.5049, allocations: 14.69 kB / 0.5144 GB, free: 7.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5049, allocations: 3.625 kB / 0.5144 GB, free: 7.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.505, allocations: 330.4 kB / 0.5147 GB, free: 7.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.505, allocations: 21.75 kB / 0.5147 GB, free: 7.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.5051, allocations: 71.36 kB / 0.5148 GB, free: 7.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.5051, allocations: 24.94 kB / 0.5148 GB, free: 7.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5051, allocations: 0 / 0.5148 GB, free: 7.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001426/0.5053, allocations: 114 kB / 0.5149 GB, free: 7.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5053, allocations: 7.656 kB / 0.5149 GB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5053, allocations: 0 / 0.5149 GB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5053, allocations: 7.969 kB / 0.5149 GB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.5054, allocations: 11.48 kB / 0.5149 GB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5054, allocations: 7.875 kB / 0.5149 GB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.5055, allocations: 7.469 kB / 0.5149 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5055, allocations: 7.281 kB / 0.515 GB, free: 7.438 MB / 330.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,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete 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 6.288e-05/0.5056, allocations: 120.4 kB / 0.5151 GB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.5057, allocations: 60.62 kB / 0.5151 GB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.5059, allocations: 123.7 kB / 0.5152 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5059, allocations: 0 / 0.5152 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5059, allocations: 0 / 0.5152 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5059, allocations: 3.812 kB / 0.5152 GB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5061, allocations: 232.6 kB / 0.5155 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5061, allocations: 0 / 0.5155 GB, free: 7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.5061, allocations: 7.828 kB / 0.5155 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5061, allocations: 3.844 kB / 0.5155 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5061, allocations: 0 / 0.5155 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5061, allocations: 0 / 0.5155 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5061, allocations: 7.781 kB / 0.5155 GB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.5063, allocations: 183.3 kB / 0.5157 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.5064, allocations: 122.5 kB / 0.5158 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.5065, allocations: 0 / 0.5158 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.5065, allocations: 15.81 kB / 0.5158 GB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.5066, allocations: 7.25 kB / 0.5158 GB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.5066, allocations: 3.781 kB / 0.5158 GB, free: 6.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.5068, allocations: 193.7 kB / 0.516 GB, free: 6.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5068, allocations: 0 / 0.516 GB, free: 6.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.507, allocations: 37.64 kB / 0.516 GB, free: 6.621 MB / 330.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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.0008617/0.5079, allocations: 384.8 kB / 0.5164 GB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.5081, allocations: 70.27 kB / 0.5165 GB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5081, allocations: 3.844 kB / 0.5165 GB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.5081, allocations: 26.11 kB / 0.5165 GB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.5085, allocations: 59.36 kB / 0.5165 GB, free: 6.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.5089, allocations: 233.2 kB / 0.5168 GB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.5091, allocations: 0.7377 MB / 0.5175 GB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.5092, allocations: 20.42 kB / 0.5175 GB, free: 5.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.5092, allocations: 26.23 kB / 0.5175 GB, free: 5.387 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5092, allocations: 0 / 0.5175 GB, free: 5.387 MB / 330.7 MB Notification: Performance of Templates: time 0.004923/0.5142, allocations: 2.318 MB / 0.5198 GB, free: 4.223 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches