Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [: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.0008743/0.0008743, allocations: 187.4 kB / 7.803 MB, free: 2.441 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.054/1.054, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008415/0.0008415, allocations: 93.56 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.1567/0.1567, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.115e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3397, allocations: 86.69 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.3399, allocations: 67.95 kB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01286/0.3528, allocations: 4.87 MB / 0.5549 GB, free: 7.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3528, allocations: 3.938 kB / 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.0003488/0.3532, allocations: 398.1 kB / 0.5553 GB, free: 6.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3532, allocations: 12.03 kB / 0.5553 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3533, allocations: 15.81 kB / 0.5553 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3536, allocations: 214.9 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3536, allocations: 0 / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3536, allocations: 0 / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.001e-05/0.3537, allocations: 15.91 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.3538, allocations: 53.61 kB / 0.5556 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.3538, allocations: 3.938 kB / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3538, allocations: 0 / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3538, allocations: 0 / 0.5556 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.354, allocations: 166.2 kB / 0.5557 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.3541, allocations: 42.62 kB / 0.5558 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.3541, allocations: 16.86 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3542, allocations: 8.062 kB / 0.5558 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.223e-05/0.3542, allocations: 67.3 kB / 0.5558 GB, free: 6.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3543, allocations: 4 kB / 0.5559 GB, free: 6.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001588/0.3544, allocations: 69.53 kB / 0.5559 GB, free: 6.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3545, allocations: 55.41 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3546, allocations: 181.5 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3546, allocations: 29.64 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3547, allocations: 92.12 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3547, allocations: 19.75 kB / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.3547, allocations: 0 / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.3548, allocations: 326.8 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.3548, allocations: 8 kB / 0.5566 GB, free: 5.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.3549, allocations: 33.7 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.3549, allocations: 12 kB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3549, allocations: 0 / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001043/0.355, allocations: 77.44 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.355, allocations: 6.812 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3551, allocations: 0 / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.3551, allocations: 4.031 kB / 0.5567 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.3551, allocations: 11.98 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3552, allocations: 4 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.3552, allocations: 3.906 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3552, allocations: 4 kB / 0.5567 GB, free: 5.27 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.091e-05/0.3553, allocations: 112.9 kB / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.3553, allocations: 11.89 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.3554, allocations: 82.67 kB / 0.5569 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3555, allocations: 4.188 kB / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3555, allocations: 4 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3555, allocations: 0 / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3556, allocations: 166.2 kB / 0.5571 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3556, allocations: 4 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3556, allocations: 4 kB / 0.5571 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3556, allocations: 0 / 0.5571 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3557, allocations: 3.906 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3557, allocations: 3.984 kB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3557, allocations: 0 / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001177/0.3558, allocations: 109 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.3558, allocations: 97 kB / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3559, allocations: 0 / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.3559, allocations: 4 kB / 0.5573 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.356, allocations: 7.891 kB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.356, allocations: 4 kB / 0.5573 GB, free: 4.582 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001077/0.3561, allocations: 160.2 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.3563, allocations: 23.94 kB / 0.5575 GB, free: 4.402 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.0005477/0.3568, allocations: 308.6 kB / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.3569, allocations: 39.92 kB / 0.5578 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3569, allocations: 3.938 kB / 0.5578 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.357, allocations: 24 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.3572, allocations: 19.84 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.3575, allocations: 159.4 kB / 0.558 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.3578, allocations: 0.727 MB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3578, allocations: 0 / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of Templates: time 0.00331/0.3611, allocations: 1.444 MB / 0.5602 GB, free: 1.676 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches