Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") [: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.002351/0.002351, allocations: 172 kB / 8.148 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.838/1.838, 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.00127/0.00127, allocations: 99.56 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.259/0.259, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.406e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.4208, allocations: 86.93 MB / 0.5503 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4211, allocations: 75.47 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0271/0.4482, allocations: 5.544 MB / 0.5558 GB, free: 6.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.4483, allocations: 7.938 kB / 0.5558 GB, free: 6.531 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006395/0.4489, allocations: 406.1 kB / 0.5562 GB, free: 6.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.449, allocations: 12.03 kB / 0.5562 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.4491, allocations: 15.72 kB / 0.5562 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.4496, allocations: 242.5 kB / 0.5564 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4496, allocations: 7.938 kB / 0.5564 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4496, allocations: 0 / 0.5564 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001678/0.4498, allocations: 31.98 kB / 0.5564 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.45, allocations: 61.67 kB / 0.5565 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.45, allocations: 0 / 0.5565 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.45, allocations: 3.984 kB / 0.5565 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4501, allocations: 0 / 0.5565 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.4507, allocations: 309.2 kB / 0.5568 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.4509, allocations: 66.75 kB / 0.5569 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.774e-05/0.451, allocations: 24.84 kB / 0.5569 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4511, allocations: 4 kB / 0.5569 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.4512, allocations: 79.5 kB / 0.557 GB, free: 5.141 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.4512, allocations: 0 / 0.557 GB, free: 5.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007731/0.452, allocations: 178.1 kB / 0.5571 GB, free: 4.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.4521, allocations: 55.41 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.4525, allocations: 217.7 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.4526, allocations: 29.7 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.4526, allocations: 150.6 kB / 0.5576 GB, free: 4.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.4527, allocations: 35.55 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.4527, allocations: 0 / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4529, allocations: 318.8 kB / 0.5579 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.453, allocations: 31.94 kB / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4531, allocations: 45.64 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.4532, allocations: 31.98 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4532, allocations: 3.938 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003276/0.4536, allocations: 117.6 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4536, allocations: 7.438 kB / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4536, allocations: 4.031 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4536, allocations: 0 / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.4539, allocations: 31.92 kB / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4539, allocations: 0 / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.454, allocations: 4 kB / 0.5582 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.454, allocations: 11.91 kB / 0.5582 GB, free: 3.84 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 (13): * Single equations (assignments): 13 * 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 7.364e-05/0.4541, allocations: 29.22 kB / 0.5582 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.4542, allocations: 15.81 kB / 0.5582 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.4547, allocations: 159.1 kB / 0.5584 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4547, allocations: 0 / 0.5584 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4547, allocations: 15.91 kB / 0.5584 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4547, allocations: 0 / 0.5584 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.4555, allocations: 439.6 kB / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4556, allocations: 0 / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.4557, allocations: 19.98 kB / 0.5588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4558, allocations: 4.031 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4558, allocations: 4 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4558, allocations: 4 kB / 0.5588 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4558, allocations: 0 / 0.5588 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003799/0.4562, allocations: 233.8 kB / 0.5591 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4563, allocations: 100.9 kB / 0.5592 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.4564, allocations: 7.984 kB / 0.5592 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4565, allocations: 4 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.4566, allocations: 11.98 kB / 0.5592 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4566, allocations: 7.938 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002681/0.4569, allocations: 175.2 kB / 0.5594 GB, free: 2.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003819/0.4573, allocations: 36 kB / 0.5594 GB, free: 2.496 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 (13): * Single equations (assignments): 11 * 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.0009997/0.4583, allocations: 354.7 kB / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.4586, allocations: 71.98 kB / 0.5598 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4586, allocations: 0 / 0.5598 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4588, allocations: 47.92 kB / 0.5599 GB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4592, allocations: 32.12 kB / 0.5599 GB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.4601, allocations: 257.9 kB / 0.5601 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.4606, allocations: 0.7539 MB / 0.5609 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4606, allocations: 0 / 0.5609 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of Templates: time 0.006671/0.4673, allocations: 2.327 MB / 0.5631 GB, free: 14.64 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches