Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008912/0.0008913, allocations: 190 kB / 7.8 MB, free: 2.504 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.045/1.045, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.0008001/0.0008001, allocations: 83.39 kB / 261.4 MB, free: 13.62 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.1535/0.1535, allocations: 43.49 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.033e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3324, allocations: 86.9 MB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.3326, allocations: 71.47 kB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01371/0.3463, allocations: 5.467 MB / 0.5557 GB, free: 6.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3464, allocations: 8 kB / 0.5557 GB, free: 6.59 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.0003933/0.3468, allocations: 418 kB / 0.5561 GB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3468, allocations: 8.031 kB / 0.5561 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.3469, allocations: 15.81 kB / 0.5561 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3472, allocations: 226.6 kB / 0.5563 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3472, allocations: 4 kB / 0.5563 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3472, allocations: 3.906 kB / 0.5563 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.905e-05/0.3473, allocations: 39.97 kB / 0.5564 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.3474, allocations: 61.61 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3474, allocations: 0 / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3474, allocations: 0 / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3474, allocations: 0 / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3478, allocations: 293.3 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3479, allocations: 62.69 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.348, allocations: 24.97 kB / 0.5568 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.348, allocations: 7.938 kB / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.429e-05/0.3481, allocations: 71.45 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3481, allocations: 0 / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003862/0.3485, allocations: 169 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.3485, allocations: 51.41 kB / 0.5571 GB, free: 4.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3487, allocations: 225.7 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3487, allocations: 25.7 kB / 0.5573 GB, free: 4.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.3488, allocations: 100.1 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3488, allocations: 23.72 kB / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.3488, allocations: 0 / 0.5574 GB, free: 4.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.3489, allocations: 330.7 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.349, allocations: 24 kB / 0.5578 GB, free: 4.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.349, allocations: 41.7 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.3491, allocations: 20 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3491, allocations: 4 kB / 0.5578 GB, free: 4.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001526/0.3492, allocations: 117.5 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3492, allocations: 4 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3492, allocations: 0 / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3493, allocations: 4 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.3494, allocations: 19.92 kB / 0.558 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.3494, allocations: 3.938 kB / 0.558 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.3494, allocations: 8.031 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3494, allocations: 4 kB / 0.558 GB, free: 4.016 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 6.015e-05/0.3495, allocations: 109.8 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3495, allocations: 19.72 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.3498, allocations: 127 kB / 0.5582 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.3498, allocations: 4 kB / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3498, allocations: 0 / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3498, allocations: 0 / 0.5582 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.3502, allocations: 427.7 kB / 0.5586 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3502, allocations: 0 / 0.5586 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3503, allocations: 12 kB / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3503, allocations: 0 / 0.5586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3503, allocations: 4 kB / 0.5586 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3503, allocations: 0 / 0.5586 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3503, allocations: 0 / 0.5586 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000196/0.3505, allocations: 237.7 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3506, allocations: 96.92 kB / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3506, allocations: 3.984 kB / 0.559 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.3507, allocations: 4 kB / 0.559 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3507, allocations: 7.984 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3508, allocations: 4 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001431/0.3509, allocations: 179.2 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.3512, allocations: 35.94 kB / 0.5592 GB, free: 2.664 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.000585/0.3518, allocations: 348.5 kB / 0.5595 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.3519, allocations: 71.98 kB / 0.5596 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3519, allocations: 3.938 kB / 0.5596 GB, free: 2.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.352, allocations: 39.92 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.3522, allocations: 27.94 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.3526, allocations: 216.1 kB / 0.5599 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.3529, allocations: 0.7505 MB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3529, allocations: 0 / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of Templates: time 0.003668/0.3565, allocations: 1.829 MB / 0.5624 GB, free: 15.39 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches