Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [: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.0009566/0.0009566, allocations: 183.6 kB / 7.801 MB, free: 2.141 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.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008066/0.0008066, allocations: 91.48 kB / 261.4 MB, free: 13.6 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.1534/0.1534, allocations: 43.49 MB / 352.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.163e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2116, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09946/0.3111, allocations: 86.89 MB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.3113, allocations: 75.47 kB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01328/0.3246, allocations: 4.938 MB / 0.5552 GB, free: 7.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3246, allocations: 8 kB / 0.5552 GB, free: 7.098 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.0003557/0.325, allocations: 386.1 kB / 0.5555 GB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.325, allocations: 8.031 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3251, allocations: 19.89 kB / 0.5556 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3253, allocations: 210.6 kB / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3254, allocations: 0 / 0.5558 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3254, allocations: 8 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.449e-05/0.3254, allocations: 23.98 kB / 0.5558 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.524e-05/0.3255, allocations: 49.67 kB / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3255, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3256, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3256, allocations: 0 / 0.5558 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.3259, allocations: 269.4 kB / 0.5561 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.326, allocations: 54.62 kB / 0.5561 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.326, allocations: 16.98 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.326, allocations: 4 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.702e-05/0.3261, allocations: 59.31 kB / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.3261, allocations: 0 / 0.5562 GB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003484/0.3265, allocations: 137.2 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.3265, allocations: 59.39 kB / 0.5564 GB, free: 5.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3266, allocations: 153.3 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3267, allocations: 33.69 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.3267, allocations: 84.14 kB / 0.5567 GB, free: 5.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3267, allocations: 23.64 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.3268, allocations: 4 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3269, allocations: 322.8 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.3269, allocations: 16 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.327, allocations: 29.72 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.327, allocations: 31.92 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.327, allocations: 0 / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.3272, allocations: 81.59 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3272, allocations: 14.72 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3272, allocations: 0 / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.3272, allocations: 0 / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.3273, allocations: 19.98 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3273, allocations: 8.125 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.3274, allocations: 4.031 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3274, allocations: 7.938 kB / 0.5572 GB, free: 4.797 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.021e-05/0.3274, allocations: 113 kB / 0.5573 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.3275, allocations: 11.81 kB / 0.5573 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3276, allocations: 98.11 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3277, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3277, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3277, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.328, allocations: 379.9 kB / 0.5578 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.328, allocations: 192 / 0.5578 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.3281, allocations: 12 kB / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3281, allocations: 0 / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3281, allocations: 4 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3281, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3281, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001631/0.3283, allocations: 209.9 kB / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.3283, allocations: 96.91 kB / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3283, allocations: 0 / 0.5581 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.3284, allocations: 7.938 kB / 0.5581 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.3285, allocations: 7.984 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.3285, allocations: 0 / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.959e-05/0.3286, allocations: 128.1 kB / 0.5582 GB, free: 3.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.3288, allocations: 35.92 kB / 0.5583 GB, free: 3.613 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.0005714/0.3294, allocations: 344.3 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3295, allocations: 55.98 kB / 0.5586 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3295, allocations: 4.062 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.3296, allocations: 35.92 kB / 0.5587 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3298, allocations: 20.5 kB / 0.5587 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.3301, allocations: 140.6 kB / 0.5588 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.3304, allocations: 0.7349 MB / 0.5595 GB, free: 2.266 MB / 394.7 MB Notification: Performance of SimCode: time 7.834e-06/0.3304, allocations: 0 / 0.5595 GB, free: 2.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003452/0.3338, allocations: 1.615 MB / 0.5611 GB, free: 0.6641 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches