Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") [: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.001663/0.001663, allocations: 170.2 kB / 8.147 MB, free: 2.223 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.777/1.777, 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.001266/0.001265, allocations: 88.78 kB / 261.8 MB, free: 13.62 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.2684/0.2684, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.593e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3139, allocations: 58.86 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.4825, allocations: 86.88 MB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.4829, allocations: 71.95 kB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03106/0.514, allocations: 5.098 MB / 0.5553 GB, free: 7.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.5141, allocations: 4 kB / 0.5553 GB, free: 7.035 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007445/0.5148, allocations: 406 kB / 0.5557 GB, free: 6.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5149, allocations: 12.02 kB / 0.5557 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.515, allocations: 11.81 kB / 0.5557 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.5155, allocations: 210.9 kB / 0.5559 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.5156, allocations: 7.891 kB / 0.5559 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.5156, allocations: 4 kB / 0.5559 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.5158, allocations: 12 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.5159, allocations: 57.61 kB / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.516, allocations: 0 / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.516, allocations: 0 / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.516, allocations: 4 kB / 0.556 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.5167, allocations: 273.4 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.5169, allocations: 46.69 kB / 0.5563 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.517, allocations: 24.97 kB / 0.5563 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.517, allocations: 3.938 kB / 0.5563 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.5172, allocations: 71.33 kB / 0.5564 GB, free: 5.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.5172, allocations: 0 / 0.5564 GB, free: 5.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007207/0.5179, allocations: 133.1 kB / 0.5565 GB, free: 5.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.518, allocations: 55.41 kB / 0.5566 GB, free: 5.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.5184, allocations: 181.5 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.5185, allocations: 33.7 kB / 0.5568 GB, free: 5.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.5186, allocations: 150.6 kB / 0.5569 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.5187, allocations: 27.64 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.5187, allocations: 0 / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5189, allocations: 314.8 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.519, allocations: 16 kB / 0.5572 GB, free: 4.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.5191, allocations: 33.7 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.5192, allocations: 20 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5192, allocations: 0 / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003331/0.5196, allocations: 89.7 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5196, allocations: 8 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5197, allocations: 3.938 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5197, allocations: 0 / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5199, allocations: 16 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5199, allocations: 4 kB / 0.5574 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.52, allocations: 3.984 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.5201, allocations: 4 kB / 0.5574 GB, free: 4.633 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 (10): * Single equations (assignments): 10 * 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 8.538e-05/0.5202, allocations: 38.98 kB / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.5202, allocations: 15.89 kB / 0.5575 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.5207, allocations: 107.1 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5207, allocations: 3.906 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.5208, allocations: 0 / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.5208, allocations: 4 kB / 0.5576 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/0.5216, allocations: 383.8 kB / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5216, allocations: 0 / 0.558 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5218, allocations: 8 kB / 0.558 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5218, allocations: 0 / 0.558 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5218, allocations: 4 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5218, allocations: 0 / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.5219, allocations: 3.938 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003983/0.5223, allocations: 209.9 kB / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.5224, allocations: 100.9 kB / 0.5583 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.5225, allocations: 0 / 0.5583 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5227, allocations: 4 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.5228, allocations: 7.984 kB / 0.5583 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.5229, allocations: 3.938 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003641/0.5233, allocations: 156.2 kB / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.5237, allocations: 35.98 kB / 0.5585 GB, free: 3.469 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001088/0.5248, allocations: 350.4 kB / 0.5588 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.525, allocations: 55.94 kB / 0.5588 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.525, allocations: 0 / 0.5588 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.5252, allocations: 28.05 kB / 0.5589 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.5256, allocations: 32.22 kB / 0.5589 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5263, allocations: 198.2 kB / 0.5591 GB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/0.5268, allocations: 0.7387 MB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5268, allocations: 0 / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of Templates: time 0.005711/0.5325, allocations: 2.02 MB / 0.5618 GB, free: 28 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches