Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") [: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.001678/0.001678, allocations: 171.9 kB / 8.149 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.746/1.746, 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.002415/0.002415, allocations: 90.67 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.3088/0.3088, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.051e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3133, allocations: 58.84 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4931, allocations: 86.9 MB / 0.5502 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4934, allocations: 67.97 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02432/0.5178, allocations: 5.292 MB / 0.5555 GB, free: 6.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.5178, allocations: 3.938 kB / 0.5555 GB, free: 6.809 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.000578/0.5184, allocations: 410 kB / 0.5559 GB, free: 6.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5185, allocations: 16.03 kB / 0.5559 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.5185, allocations: 11.81 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.519, allocations: 222.8 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.519, allocations: 0 / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5191, allocations: 7.906 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.5192, allocations: 20 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5193, allocations: 49.67 kB / 0.5562 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5193, allocations: 7.938 kB / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5194, allocations: 0 / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5194, allocations: 0 / 0.5562 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.5199, allocations: 289.3 kB / 0.5565 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.52, allocations: 46.69 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.5201, allocations: 16.98 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5201, allocations: 0 / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.5203, allocations: 71.33 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.5203, allocations: 0 / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005601/0.5209, allocations: 141 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.5209, allocations: 63.34 kB / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.5213, allocations: 225.7 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5214, allocations: 25.7 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.5214, allocations: 150.6 kB / 0.5572 GB, free: 4.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.5215, allocations: 27.64 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.5215, allocations: 0 / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5216, allocations: 318.8 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.5217, allocations: 19.94 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.5218, allocations: 33.7 kB / 0.5576 GB, free: 4.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.5219, allocations: 23.98 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5219, allocations: 0 / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002213/0.5221, allocations: 89.58 kB / 0.5577 GB, free: 4.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5222, allocations: 7.281 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5222, allocations: 4.031 kB / 0.5577 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5222, allocations: 0 / 0.5577 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.5224, allocations: 19.94 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5224, allocations: 0 / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.5225, allocations: 7.984 kB / 0.5577 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.5225, allocations: 0 / 0.5577 GB, free: 4.324 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 6.554e-05/0.5226, allocations: 32.52 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.5226, allocations: 19.72 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.5229, allocations: 111 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.523, allocations: 0 / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.523, allocations: 4 kB / 0.5579 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.523, allocations: 3.984 kB / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.5236, allocations: 391.9 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5237, allocations: 0 / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.5237, allocations: 12 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5238, allocations: 0 / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5238, allocations: 4.219 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/0.5238, allocations: 8.344 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.5238, allocations: 7.984 kB / 0.5583 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002821/0.5241, allocations: 209.7 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5242, allocations: 100.9 kB / 0.5586 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5243, allocations: 4 kB / 0.5586 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5244, allocations: 7.984 kB / 0.5586 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.5245, allocations: 7.938 kB / 0.5586 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.5245, allocations: 4 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002751/0.5248, allocations: 188.2 kB / 0.5588 GB, free: 3.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.5252, allocations: 43.92 kB / 0.5588 GB, free: 3.086 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.0009985/0.5262, allocations: 340.1 kB / 0.5591 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.5264, allocations: 51.92 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5264, allocations: 0 / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.5265, allocations: 28 kB / 0.5592 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.527, allocations: 35.83 kB / 0.5592 GB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.5277, allocations: 250.5 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.5282, allocations: 0.7383 MB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5282, allocations: 0 / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.006182/0.5344, allocations: 2.161 MB / 0.5623 GB, free: 15.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches