Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 172 kB / 16.76 MB, free: 4.926 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.578/1.578, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0008055/0.0008054, allocations: 85.41 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3581/0.3581, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004354, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.5268, allocations: 88.52 MB / 0.5664 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5271, allocations: 67.97 kB / 0.5665 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.5629, allocations: 12.96 MB / 0.5791 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5629, allocations: 4 kB / 0.5791 GB, free: 0.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.795e-05/0.563, allocations: 11.94 kB / 0.5791 GB, free: 500 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001711/0.5647, allocations: 0.8467 MB / 0.5799 GB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5648, allocations: 12.03 kB / 0.58 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.565, allocations: 48.38 kB / 0.58 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.5661, allocations: 0.5116 MB / 0.5805 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.5661, allocations: 8.609 kB / 0.5805 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.5662, allocations: 12.38 kB / 0.5805 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.5668, allocations: 265.9 kB / 0.5808 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5668, allocations: 192 / 0.5808 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.5668, allocations: 11.94 kB / 0.5808 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5669, allocations: 4 kB / 0.5808 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.5672, allocations: 123.8 kB / 0.5809 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.5687, allocations: 0.9264 MB / 0.5818 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.5694, allocations: 310.5 kB / 0.5821 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.5697, allocations: 107.4 kB / 0.5822 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5697, allocations: 8.219 kB / 0.5822 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004736/0.5702, allocations: 235.5 kB / 0.5824 GB, free: 12.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.006e-06/0.5702, allocations: 0 / 0.5824 GB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001067/0.5713, allocations: 412.8 kB / 0.5828 GB, free: 12.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/0.5715, allocations: 346.1 kB / 0.5832 GB, free: 11.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5725, allocations: 0.6393 MB / 0.5838 GB, free: 11.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.5726, allocations: 37.7 kB / 0.5838 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.5729, allocations: 220.5 kB / 0.584 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.573, allocations: 63.25 kB / 0.5841 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.573, allocations: 4 kB / 0.5841 GB, free: 10.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.5733, allocations: 362.7 kB / 0.5845 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5735, allocations: 91.94 kB / 0.5845 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.574, allocations: 277 kB / 0.5848 GB, free: 10.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.5745, allocations: 235.7 kB / 0.585 GB, free: 9.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5745, allocations: 4 kB / 0.585 GB, free: 9.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007191/0.5752, allocations: 320.8 kB / 0.5853 GB, free: 9.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5752, allocations: 7.938 kB / 0.5853 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5753, allocations: 4 kB / 0.5854 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5753, allocations: 4 kB / 0.5854 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.5755, allocations: 55.91 kB / 0.5854 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.5756, allocations: 15.91 kB / 0.5854 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.5758, allocations: 31.91 kB / 0.5855 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.5759, allocations: 19.98 kB / 0.5855 GB, free: 9.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0003137/0.5762, allocations: 217.9 kB / 0.5857 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.5763, allocations: 55.34 kB / 0.5857 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.5771, allocations: 369.6 kB / 0.5861 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.5771, allocations: 4 kB / 0.5861 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5772, allocations: 0 / 0.5861 GB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5772, allocations: 7.922 kB / 0.5861 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.5777, allocations: 437.1 kB / 0.5865 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5777, allocations: 7.938 kB / 0.5865 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5779, allocations: 35.97 kB / 0.5866 GB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5779, allocations: 0 / 0.5866 GB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.578, allocations: 11.98 kB / 0.5866 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.578, allocations: 8 kB / 0.5866 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.578, allocations: 0 / 0.5866 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/0.5787, allocations: 386.8 kB / 0.5869 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.5789, allocations: 160.4 kB / 0.5871 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.579, allocations: 19.92 kB / 0.5871 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.5792, allocations: 19.98 kB / 0.5871 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5793, allocations: 35.89 kB / 0.5872 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5794, allocations: 19.98 kB / 0.5872 GB, free: 7.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000658/0.58, allocations: 462.8 kB / 0.5876 GB, free: 7.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5801, allocations: 0 / 0.5876 GB, free: 7.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006448/0.5807, allocations: 123.9 kB / 0.5877 GB, free: 7.047 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00141/0.5821, allocations: 483.8 kB / 0.5882 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.5829, allocations: 271.7 kB / 0.5885 GB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5829, allocations: 4 kB / 0.5885 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.5833, allocations: 179.8 kB / 0.5886 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.5841, allocations: 135.5 kB / 0.5888 GB, free: 6.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.5858, allocations: 0.8884 MB / 0.5896 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.5864, allocations: 0.8432 MB / 0.5905 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.5867, allocations: 95.2 kB / 0.5906 GB, free: 4.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5869, allocations: 43.42 kB / 0.5906 GB, free: 4.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5869, allocations: 7.938 kB / 0.5906 GB, free: 4.152 MB / 410.7 MB Notification: Performance of Templates: time 0.01477/0.6017, allocations: 7.484 MB / 0.5979 GB, free: 12.68 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches