Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009131/0.0009134, allocations: 184.8 kB / 7.803 MB, free: 2.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.035/1.035, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008166/0.0008167, allocations: 83.36 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1637/0.1637, allocations: 43.49 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.434e-05, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3394, allocations: 86.72 MB / 0.5501 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.3397, allocations: 71.95 kB / 0.5502 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01297/0.3527, allocations: 4.839 MB / 0.5549 GB, free: 7.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3527, allocations: 0 / 0.5549 GB, free: 7.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003611/0.3531, allocations: 390.2 kB / 0.5553 GB, free: 6.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3531, allocations: 15.97 kB / 0.5553 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3532, allocations: 11.91 kB / 0.5553 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3534, allocations: 205.6 kB / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3535, allocations: 7.984 kB / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3535, allocations: 4 kB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.169e-05/0.3535, allocations: 12 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.759e-05/0.3536, allocations: 49.67 kB / 0.5555 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.3536, allocations: 0 / 0.5555 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3536, allocations: 4 kB / 0.5556 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3536, allocations: 0 / 0.5556 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3538, allocations: 158.2 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.3539, allocations: 50.56 kB / 0.5558 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.3539, allocations: 20.86 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.354, allocations: 0 / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/0.3541, allocations: 55.5 kB / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3541, allocations: 4 kB / 0.5558 GB, free: 6.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001586/0.3542, allocations: 69.48 kB / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3543, allocations: 55.34 kB / 0.5559 GB, free: 6.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3544, allocations: 170.3 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3544, allocations: 25.7 kB / 0.5561 GB, free: 5.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.3545, allocations: 92.12 kB / 0.5562 GB, free: 5.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3545, allocations: 7.844 kB / 0.5562 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.3545, allocations: 7.938 kB / 0.5562 GB, free: 5.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3546, allocations: 322.7 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3547, allocations: 16 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.3547, allocations: 21.72 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.3547, allocations: 19.98 kB / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3548, allocations: 0 / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.3549, allocations: 73.53 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3549, allocations: 8 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3549, allocations: 0 / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.3549, allocations: 0 / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.355, allocations: 15.98 kB / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.355, allocations: 0 / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.355, allocations: 7.906 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3551, allocations: 8.031 kB / 0.5567 GB, free: 5.32 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 (7): * Single equations (assignments): 7 * 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.145e-05/0.3551, allocations: 101 kB / 0.5568 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.3552, allocations: 11.81 kB / 0.5568 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3553, allocations: 81.8 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3553, allocations: 3.938 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3553, allocations: 192 / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3553, allocations: 3.984 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3555, allocations: 170.2 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3555, allocations: 0 / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.3555, allocations: 15.91 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3555, allocations: 3.984 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3555, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3555, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3555, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001156/0.3557, allocations: 96.94 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.3557, allocations: 93 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3557, allocations: 7.938 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.3558, allocations: 7.984 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.3558, allocations: 7.984 kB / 0.5573 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3558, allocations: 0 / 0.5573 GB, free: 4.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.573e-05/0.3559, allocations: 144.1 kB / 0.5574 GB, free: 4.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.3561, allocations: 23.94 kB / 0.5574 GB, free: 4.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005428/0.3567, allocations: 309.8 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.3568, allocations: 43.94 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3568, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.3568, allocations: 19.98 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3571, allocations: 23.84 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.3573, allocations: 135.5 kB / 0.558 GB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.3576, allocations: 0.7192 MB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3576, allocations: 4 kB / 0.5587 GB, free: 3.211 MB / 394.7 MB Notification: Performance of Templates: time 0.003297/0.3609, allocations: 1.402 MB / 0.56 GB, free: 1.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches