Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [: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.001253/0.001253, allocations: 188.8 kB / 7.804 MB, free: 2.445 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.034/1.034, 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.0008059/0.0008058, allocations: 86.39 kB / 261.4 MB, free: 13.55 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.1501/0.1501, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.735e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3349, allocations: 87.17 MB / 0.5505 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.3352, allocations: 71.95 kB / 0.5506 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01903/0.3542, allocations: 7.394 MB / 0.5578 GB, free: 4.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3543, allocations: 0 / 0.5578 GB, free: 4.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004393/0.3547, allocations: 422.1 kB / 0.5582 GB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3548, allocations: 8.031 kB / 0.5582 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.3548, allocations: 7.906 kB / 0.5582 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3551, allocations: 210.3 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3551, allocations: 11.94 kB / 0.5584 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3551, allocations: 0 / 0.5584 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.3552, allocations: 23.84 kB / 0.5585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.685e-05/0.3553, allocations: 63.39 kB / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3553, allocations: 0 / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3553, allocations: 4 kB / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3554, allocations: 0 / 0.5585 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3557, allocations: 265.4 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.3558, allocations: 54.61 kB / 0.5588 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.3558, allocations: 20.97 kB / 0.5588 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3558, allocations: 0 / 0.5588 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/0.3559, allocations: 59.41 kB / 0.5589 GB, free: 3.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.3559, allocations: 4 kB / 0.5589 GB, free: 3.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003618/0.3563, allocations: 125.3 kB / 0.559 GB, free: 2.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3564, allocations: 89.02 kB / 0.5591 GB, free: 2.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3565, allocations: 133 kB / 0.5592 GB, free: 2.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3565, allocations: 25.7 kB / 0.5593 GB, free: 2.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.3565, allocations: 88.12 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3566, allocations: 31.58 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.3566, allocations: 0 / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.3567, allocations: 318.8 kB / 0.5597 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.3567, allocations: 23.98 kB / 0.5597 GB, free: 2.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.3567, allocations: 34.58 kB / 0.5597 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.3568, allocations: 28.05 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.3568, allocations: 0 / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001301/0.3569, allocations: 93.52 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.357, allocations: 4 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.357, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.357, allocations: 7.969 kB / 0.5599 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.3571, allocations: 23.98 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.3571, allocations: 0 / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.3571, allocations: 4 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3572, allocations: 0 / 0.5599 GB, free: 2.035 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.65e-05/0.3572, allocations: 108.9 kB / 0.56 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.3573, allocations: 7.906 kB / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.3574, allocations: 110.1 kB / 0.5601 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3574, allocations: 4 kB / 0.5601 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3575, allocations: 0 / 0.5601 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3575, allocations: 0 / 0.5601 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.3578, allocations: 360 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3578, allocations: 11.92 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.3579, allocations: 8 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3579, allocations: 4 kB / 0.5605 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3579, allocations: 0 / 0.5605 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3579, allocations: 4.031 kB / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3579, allocations: 0 / 0.5605 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001573/0.358, allocations: 205.9 kB / 0.5607 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3581, allocations: 93 kB / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3581, allocations: 0 / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.3582, allocations: 4 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.3583, allocations: 15.89 kB / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3583, allocations: 0 / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.376e-05/0.3583, allocations: 123 kB / 0.5609 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.3586, allocations: 43.86 kB / 0.5609 GB, free: 0.8438 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.0007279/0.3593, allocations: 389.3 kB / 0.5613 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.3595, allocations: 48 kB / 0.5614 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3595, allocations: 0 / 0.5614 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.3595, allocations: 35.92 kB / 0.5614 GB, free: 432 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3598, allocations: 27.97 kB / 0.5614 GB, free: 404 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.3601, allocations: 124.7 kB / 0.5615 GB, free: 244 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3604, allocations: 0.727 MB / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3604, allocations: 0 / 0.5623 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Templates: time 0.003947/0.3643, allocations: 1.841 MB / 0.5641 GB, free: 13.65 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches