Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002348/0.002348, allocations: 181.2 kB / 8.153 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001293/0.001292, allocations: 102 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2949/0.2949, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.288e-06/9.447e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.4539, allocations: 87.64 MB / 0.551 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4543, allocations: 71.47 kB / 0.551 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06021/0.5145, allocations: 12.46 MB / 0.5632 GB, free: 14.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-05/0.5146, allocations: 8 kB / 0.5632 GB, free: 14.89 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.001711/0.5163, allocations: 0.7471 MB / 0.5639 GB, free: 14.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5164, allocations: 8.031 kB / 0.5639 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.5166, allocations: 55.34 kB / 0.564 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.5184, allocations: 491.2 kB / 0.5645 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.5185, allocations: 8 kB / 0.5645 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5186, allocations: 15.98 kB / 0.5645 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005178/0.5192, allocations: 96.44 kB / 0.5646 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.52, allocations: 246.6 kB / 0.5648 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.52, allocations: 0 / 0.5648 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.5201, allocations: 0 / 0.5648 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5201, allocations: 4 kB / 0.5648 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.5221, allocations: 0.8996 MB / 0.5657 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.5229, allocations: 263 kB / 0.5659 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.5232, allocations: 107.4 kB / 0.566 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.5232, allocations: 4 kB / 0.5661 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.5237, allocations: 194.7 kB / 0.5662 GB, free: 11.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.085e-06/0.5237, allocations: 0 / 0.5662 GB, free: 11.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009657/0.5247, allocations: 268.9 kB / 0.5665 GB, free: 11.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.5249, allocations: 338.1 kB / 0.5668 GB, free: 10.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5263, allocations: 0.5605 MB / 0.5674 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5265, allocations: 29.7 kB / 0.5674 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5266, allocations: 163 kB / 0.5675 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5267, allocations: 59.27 kB / 0.5676 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.5267, allocations: 3.938 kB / 0.5676 GB, free: 9.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5269, allocations: 322.8 kB / 0.5679 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.5272, allocations: 71.98 kB / 0.568 GB, free: 9.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.5277, allocations: 241.1 kB / 0.5682 GB, free: 9.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.528, allocations: 95.89 kB / 0.5683 GB, free: 9.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.528, allocations: 0 / 0.5683 GB, free: 9.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007894/0.5288, allocations: 249.8 kB / 0.5685 GB, free: 8.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5289, allocations: 6.812 kB / 0.5685 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5289, allocations: 8.125 kB / 0.5686 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5289, allocations: 4 kB / 0.5686 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.5295, allocations: 59.89 kB / 0.5686 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.5295, allocations: 0 / 0.5686 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.5298, allocations: 23.83 kB / 0.5686 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.5299, allocations: 16 kB / 0.5687 GB, free: 8.84 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.0001714/0.5301, allocations: 61.53 kB / 0.5687 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.5303, allocations: 51.42 kB / 0.5688 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.5314, allocations: 313.3 kB / 0.5691 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5314, allocations: 4 kB / 0.5691 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5314, allocations: 4 kB / 0.5691 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5314, allocations: 0 / 0.5691 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.5322, allocations: 405.7 kB / 0.5695 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5322, allocations: 0 / 0.5695 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.5325, allocations: 27.98 kB / 0.5695 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.5326, allocations: 0 / 0.5695 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.5326, allocations: 19.83 kB / 0.5695 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.5326, allocations: 7.938 kB / 0.5695 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5327, allocations: 0 / 0.5695 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008897/0.5336, allocations: 373.8 kB / 0.5699 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.5338, allocations: 152.5 kB / 0.57 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.534, allocations: 7.984 kB / 0.57 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.5343, allocations: 27.89 kB / 0.57 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5345, allocations: 31.95 kB / 0.5701 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.5346, allocations: 23.92 kB / 0.5701 GB, free: 7.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000954/0.5355, allocations: 434.9 kB / 0.5705 GB, free: 6.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.5363, allocations: 111.9 kB / 0.5706 GB, free: 6.707 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.001116/0.5374, allocations: 365 kB / 0.571 GB, free: 6.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.5382, allocations: 240.2 kB / 0.5712 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.5383, allocations: 0 / 0.5712 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.5386, allocations: 131.8 kB / 0.5713 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5399, allocations: 132.8 kB / 0.5714 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.542, allocations: 0.6617 MB / 0.5721 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.5428, allocations: 0.9009 MB / 0.573 GB, free: 4.262 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5429, allocations: 0 / 0.573 GB, free: 4.262 MB / 410.7 MB Notification: Performance of Templates: time 0.01674/0.5596, allocations: 7.157 MB / 0.58 GB, free: 13.11 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches