Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [: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.002416/0.002416, allocations: 172 kB / 8.149 MB, free: 2.191 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.798/1.798, 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.001246/0.001246, allocations: 102.1 kB / 261.8 MB, free: 13.61 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.2662/0.2662, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.416e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3396, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5114, allocations: 86.89 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5117, allocations: 79.23 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02918/0.5409, allocations: 4.992 MB / 0.5552 GB, free: 7.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.541, allocations: 3.938 kB / 0.5552 GB, free: 7.125 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.0005314/0.5415, allocations: 386.2 kB / 0.5556 GB, free: 6.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5416, allocations: 8.031 kB / 0.5556 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.5417, allocations: 11.91 kB / 0.5556 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.5421, allocations: 217.5 kB / 0.5558 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.5421, allocations: 4 kB / 0.5558 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5422, allocations: 4 kB / 0.5558 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.547e-05/0.5423, allocations: 19.98 kB / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.5424, allocations: 45.69 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5424, allocations: 3.906 kB / 0.5559 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5424, allocations: 7.984 kB / 0.5559 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5425, allocations: 0 / 0.5559 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.5429, allocations: 265.5 kB / 0.5561 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.5431, allocations: 54.59 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.5431, allocations: 20.98 kB / 0.5562 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5432, allocations: 4 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.5433, allocations: 59.41 kB / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.5433, allocations: 0 / 0.5562 GB, free: 5.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.5438, allocations: 137.1 kB / 0.5564 GB, free: 5.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.5439, allocations: 51.41 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5442, allocations: 170.2 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.5442, allocations: 25.7 kB / 0.5566 GB, free: 5.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5443, allocations: 158.6 kB / 0.5568 GB, free: 5.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5443, allocations: 15.72 kB / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.5443, allocations: 0 / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5445, allocations: 318.8 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.5446, allocations: 20 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.5446, allocations: 29.72 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.5447, allocations: 27.91 kB / 0.5572 GB, free: 4.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5447, allocations: 4.094 kB / 0.5572 GB, free: 4.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.545, allocations: 85.69 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.545, allocations: 11.38 kB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.545, allocations: 0 / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.545, allocations: 4 kB / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.5452, allocations: 20.11 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5452, allocations: 0 / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.5453, allocations: 8 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.5453, allocations: 0 / 0.5573 GB, free: 4.773 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.826e-05/0.5454, allocations: 44.44 kB / 0.5573 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.5454, allocations: 7.906 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.5458, allocations: 102.1 kB / 0.5574 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5458, allocations: 3.906 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5458, allocations: 4 kB / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5458, allocations: 3.984 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.5464, allocations: 367.8 kB / 0.5578 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5464, allocations: 4.031 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.5465, allocations: 8 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5465, allocations: 0 / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.5465, allocations: 7.984 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5466, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5466, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002733/0.5469, allocations: 209.9 kB / 0.558 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.5469, allocations: 92.86 kB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.547, allocations: 4 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5471, allocations: 3.984 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.5472, allocations: 11.98 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5472, allocations: 7.938 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001763/0.5474, allocations: 140.1 kB / 0.5583 GB, free: 3.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.5477, allocations: 28 kB / 0.5583 GB, free: 3.645 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.0009693/0.5487, allocations: 352.2 kB / 0.5586 GB, free: 3.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.5489, allocations: 52 kB / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5489, allocations: 0 / 0.5587 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.549, allocations: 27.94 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5495, allocations: 35.94 kB / 0.5587 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.55, allocations: 186.1 kB / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/0.5504, allocations: 0.7309 MB / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5504, allocations: 0 / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of Templates: time 0.005318/0.5558, allocations: 1.947 MB / 0.5615 GB, free: 304 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches