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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009058/0.0009057, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008432/0.0008431, allocations: 88.09 kB / 261.4 MB, free: 13.54 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.1579/0.1579, allocations: 43.48 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 58.83 MB / 476.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3142, allocations: 87.64 MB / 0.551 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.3144, allocations: 71.97 kB / 0.551 GB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03253/0.3469, allocations: 12.45 MB / 0.5632 GB, free: 14.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.525e-05/0.347, allocations: 8 kB / 0.5632 GB, free: 14.77 MB / 410.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.00095/0.348, allocations: 0.7471 MB / 0.5639 GB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.348, allocations: 12.03 kB / 0.5639 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.3481, allocations: 55.34 kB / 0.564 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.3489, allocations: 491.2 kB / 0.5645 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3489, allocations: 15.94 kB / 0.5645 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.349, allocations: 8 kB / 0.5645 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001984/0.3492, allocations: 96.42 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.3495, allocations: 250.5 kB / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3495, allocations: 0 / 0.5648 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3495, allocations: 4 kB / 0.5648 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3495, allocations: 4 kB / 0.5648 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.3505, allocations: 0.8996 MB / 0.5657 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.3509, allocations: 267 kB / 0.566 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.351, allocations: 99.53 kB / 0.5661 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.351, allocations: 4 kB / 0.5661 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3513, allocations: 194.5 kB / 0.5662 GB, free: 11.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.3513, allocations: 0 / 0.5662 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004392/0.3517, allocations: 272.9 kB / 0.5665 GB, free: 11.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.3518, allocations: 338.1 kB / 0.5668 GB, free: 10.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.3524, allocations: 0.5566 MB / 0.5674 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3525, allocations: 33.7 kB / 0.5674 GB, free: 10.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.3526, allocations: 140.4 kB / 0.5675 GB, free: 9.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3526, allocations: 59.2 kB / 0.5676 GB, free: 9.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.3527, allocations: 0 / 0.5676 GB, free: 9.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3528, allocations: 370.8 kB / 0.5679 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3529, allocations: 75.98 kB / 0.568 GB, free: 9.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3531, allocations: 241.1 kB / 0.5683 GB, free: 9.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3533, allocations: 91.89 kB / 0.5683 GB, free: 9.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3533, allocations: 0 / 0.5683 GB, free: 9.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004182/0.3537, allocations: 288.8 kB / 0.5686 GB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.3537, allocations: 6.812 kB / 0.5686 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3537, allocations: 0 / 0.5686 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3538, allocations: 7.906 kB / 0.5686 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.354, allocations: 55.91 kB / 0.5687 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.354, allocations: 4.375 kB / 0.5687 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3542, allocations: 27.95 kB / 0.5687 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3543, allocations: 19.98 kB / 0.5687 GB, free: 8.641 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 () * 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.0001051/0.3544, allocations: 132.4 kB / 0.5689 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.3545, allocations: 51.34 kB / 0.5689 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.355, allocations: 313.3 kB / 0.5692 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.355, allocations: 4 kB / 0.5692 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.355, allocations: 4 kB / 0.5692 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.355, allocations: 3.984 kB / 0.5692 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.3553, allocations: 397.8 kB / 0.5696 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3554, allocations: 4 kB / 0.5696 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3555, allocations: 35.91 kB / 0.5696 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3555, allocations: 7.875 kB / 0.5696 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3555, allocations: 7.984 kB / 0.5696 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3555, allocations: 4 kB / 0.5697 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3556, allocations: 0 / 0.5697 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004192/0.356, allocations: 365.8 kB / 0.57 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3561, allocations: 164.4 kB / 0.5702 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3562, allocations: 8 kB / 0.5702 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3564, allocations: 15.97 kB / 0.5702 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.3565, allocations: 39.94 kB / 0.5702 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.3565, allocations: 15.91 kB / 0.5702 GB, free: 6.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004303/0.357, allocations: 442.9 kB / 0.5707 GB, free: 6.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.3574, allocations: 107.9 kB / 0.5708 GB, free: 6.445 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) * 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.0006667/0.3581, allocations: 359.4 kB / 0.5711 GB, free: 6.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.3585, allocations: 243.8 kB / 0.5713 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3585, allocations: 3.938 kB / 0.5713 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.3587, allocations: 175.8 kB / 0.5715 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.3593, allocations: 132.8 kB / 0.5716 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.3602, allocations: 0.6167 MB / 0.5722 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.3607, allocations: 0.9087 MB / 0.5731 GB, free: 4 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3607, allocations: 0 / 0.5731 GB, free: 4 MB / 410.7 MB Notification: Performance of Templates: time 0.01053/0.3713, allocations: 6.728 MB / 0.5797 GB, free: 13.28 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/jenkins/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