Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") [: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.001623/0.001623, allocations: 175 kB / 8.146 MB, free: 2.215 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.678/1.678, 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.001311/0.00131, allocations: 95.48 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.3155/0.3155, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.125e-05/1.135e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3539, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.5094, allocations: 86.89 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5097, allocations: 83.23 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02574/0.5355, allocations: 5.458 MB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5356, allocations: 0 / 0.5556 GB, free: 6.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006069/0.5362, allocations: 425.9 kB / 0.556 GB, free: 6.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5362, allocations: 12.03 kB / 0.5561 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.5363, allocations: 11.81 kB / 0.5561 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.5368, allocations: 226.6 kB / 0.5563 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.5368, allocations: 4 kB / 0.5563 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5368, allocations: 7.906 kB / 0.5563 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001329/0.537, allocations: 31.92 kB / 0.5563 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.5371, allocations: 65.59 kB / 0.5564 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5372, allocations: 0 / 0.5564 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5372, allocations: 0 / 0.5564 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5372, allocations: 4 kB / 0.5564 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.5378, allocations: 289.3 kB / 0.5567 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.538, allocations: 78.66 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.5381, allocations: 20.98 kB / 0.5568 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.5381, allocations: 0 / 0.5568 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.5383, allocations: 71.33 kB / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.5383, allocations: 0 / 0.5568 GB, free: 5.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006887/0.539, allocations: 173.1 kB / 0.557 GB, free: 5.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.539, allocations: 59.39 kB / 0.5571 GB, free: 5.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.5394, allocations: 217.7 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5395, allocations: 29.69 kB / 0.5573 GB, free: 4.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.5396, allocations: 154.5 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.5396, allocations: 19.72 kB / 0.5575 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.5396, allocations: 0 / 0.5575 GB, free: 4.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5398, allocations: 326.7 kB / 0.5578 GB, free: 4.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.5399, allocations: 20 kB / 0.5578 GB, free: 4.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.54, allocations: 41.7 kB / 0.5578 GB, free: 4.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.5401, allocations: 24 kB / 0.5579 GB, free: 4.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5401, allocations: 0 / 0.5579 GB, free: 4.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002751/0.5404, allocations: 97.61 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5404, allocations: 8 kB / 0.558 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5404, allocations: 0 / 0.558 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5404, allocations: 192 / 0.558 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5407, allocations: 27.86 kB / 0.558 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5407, allocations: 11.88 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.5408, allocations: 4 kB / 0.558 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.5408, allocations: 0 / 0.558 GB, free: 4.047 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 (11): * Single equations (assignments): 11 * 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.439e-05/0.5409, allocations: 39.09 kB / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.5409, allocations: 15.81 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.5414, allocations: 119.2 kB / 0.5582 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5414, allocations: 4 kB / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5414, allocations: 4 kB / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5414, allocations: 0 / 0.5582 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.5421, allocations: 411.8 kB / 0.5586 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5422, allocations: 3.984 kB / 0.5586 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5423, allocations: 12 kB / 0.5586 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.5424, allocations: 7.906 kB / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5424, allocations: 0 / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5424, allocations: 0 / 0.5586 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.5424, allocations: 4 kB / 0.5586 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003473/0.5428, allocations: 233.9 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5429, allocations: 96.92 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.5429, allocations: 7.984 kB / 0.5589 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.5431, allocations: 7.906 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5431, allocations: 7.984 kB / 0.5589 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.5432, allocations: 8 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002772/0.5435, allocations: 179.2 kB / 0.5591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.5438, allocations: 31.94 kB / 0.5591 GB, free: 2.773 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 (11): * Single equations (assignments): 9 * 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.001018/0.5449, allocations: 353.4 kB / 0.5595 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5452, allocations: 63.98 kB / 0.5595 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5452, allocations: 3.938 kB / 0.5595 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.5453, allocations: 43.92 kB / 0.5596 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.5458, allocations: 24.16 kB / 0.5596 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.5465, allocations: 249.8 kB / 0.5598 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.547, allocations: 0.7463 MB / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.547, allocations: 0 / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of Templates: time 0.006466/0.5535, allocations: 2.225 MB / 0.5627 GB, free: 15.06 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches