Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") [: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.001657/0.001657, allocations: 175.8 kB / 8.148 MB, free: 2.207 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.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.00132/0.00132, allocations: 92.75 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.2612/0.2612, allocations: 43.49 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.159e-05/1.176e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 58.85 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.4544, allocations: 86.68 MB / 0.55 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4547, allocations: 71.95 kB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02265/0.4774, allocations: 4.779 MB / 0.5548 GB, free: 7.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.4774, allocations: 4 kB / 0.5548 GB, free: 7.559 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005761/0.478, allocations: 382.2 kB / 0.5551 GB, free: 7.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4781, allocations: 12.03 kB / 0.5552 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.4782, allocations: 7.906 kB / 0.5552 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.4786, allocations: 221.5 kB / 0.5554 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4786, allocations: 0 / 0.5554 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4787, allocations: 4 kB / 0.5554 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.945e-05/0.4788, allocations: 12 kB / 0.5554 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.4789, allocations: 45.67 kB / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4789, allocations: 0 / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4789, allocations: 0 / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.479, allocations: 4 kB / 0.5554 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.4792, allocations: 166.2 kB / 0.5556 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.4794, allocations: 46.56 kB / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.4794, allocations: 16.86 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4795, allocations: 0 / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.4796, allocations: 63.5 kB / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4796, allocations: 0 / 0.5557 GB, free: 6.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002603/0.4799, allocations: 73.48 kB / 0.5558 GB, free: 6.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.48, allocations: 51.41 kB / 0.5558 GB, free: 6.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.4802, allocations: 166.3 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4802, allocations: 25.7 kB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4803, allocations: 150.6 kB / 0.5562 GB, free: 5.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4804, allocations: 15.72 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.4804, allocations: 4 kB / 0.5562 GB, free: 5.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4806, allocations: 326.7 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.4806, allocations: 12 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.4807, allocations: 21.72 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.4808, allocations: 15.98 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4808, allocations: 0 / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001865/0.481, allocations: 69.75 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.481, allocations: 4 kB / 0.5566 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.481, allocations: 4.016 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.481, allocations: 11.94 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4812, allocations: 11.98 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4812, allocations: 0 / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.4813, allocations: 7.906 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4813, allocations: 0 / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.446e-05/0.4814, allocations: 33.64 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.4814, allocations: 7.906 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.4817, allocations: 89.7 kB / 0.5568 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4817, allocations: 4 kB / 0.5568 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4817, allocations: 0 / 0.5568 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4817, allocations: 0 / 0.5568 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.4819, allocations: 162.2 kB / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4819, allocations: 0 / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.482, allocations: 4 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.482, allocations: 0 / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.482, allocations: 11.89 kB / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.482, allocations: 0 / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4821, allocations: 0 / 0.5569 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001965/0.4823, allocations: 97.03 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.4824, allocations: 96.91 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.4824, allocations: 0 / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.4825, allocations: 4 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.4825, allocations: 3.984 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4826, allocations: 4.188 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001713/0.4827, allocations: 136.1 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.483, allocations: 35.8 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0009138/0.4839, allocations: 322.9 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4841, allocations: 32 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4842, allocations: 0 / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.4842, allocations: 27.92 kB / 0.5577 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4846, allocations: 27.75 kB / 0.5577 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.4852, allocations: 161.3 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.4856, allocations: 0.7231 MB / 0.5586 GB, free: 3.371 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4857, allocations: 0 / 0.5586 GB, free: 3.371 MB / 394.7 MB Notification: Performance of Templates: time 0.005114/0.4908, allocations: 1.716 MB / 0.5602 GB, free: 1.656 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:_D_cse1,_D_whenCondition1,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.timeScaled,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time