Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") [: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.00106/0.00106, allocations: 179.9 kB / 7.8 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.028/1.028, 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.0007765/0.0007765, allocations: 87.36 kB / 261.4 MB, free: 13.61 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.1569/0.1569, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2287, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3305, allocations: 86.88 MB / 0.5502 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.3307, allocations: 71.97 kB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01351/0.3442, allocations: 5.277 MB / 0.5555 GB, free: 6.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3442, allocations: 3.938 kB / 0.5555 GB, free: 6.797 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.0003636/0.3446, allocations: 410 kB / 0.5559 GB, free: 6.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3446, allocations: 12.02 kB / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3447, allocations: 11.81 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.345, allocations: 222.8 kB / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.345, allocations: 0 / 0.5561 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.345, allocations: 11.91 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.849e-05/0.3451, allocations: 20 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.643e-05/0.3452, allocations: 49.67 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3452, allocations: 3.984 kB / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3452, allocations: 0 / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3452, allocations: 0 / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.3456, allocations: 289.3 kB / 0.5565 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.3457, allocations: 54.69 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3457, allocations: 16.98 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3458, allocations: 4 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.007e-05/0.3458, allocations: 55.39 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.3458, allocations: 3.938 kB / 0.5566 GB, free: 5.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.3462, allocations: 145.1 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.3463, allocations: 63.34 kB / 0.5568 GB, free: 5.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3465, allocations: 225.7 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3465, allocations: 25.7 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.3465, allocations: 96.12 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3466, allocations: 23.66 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.3466, allocations: 0 / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.3467, allocations: 330.8 kB / 0.5575 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.3467, allocations: 16 kB / 0.5575 GB, free: 4.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.3468, allocations: 37.66 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.3468, allocations: 23.98 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.3468, allocations: 0 / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001343/0.347, allocations: 93.56 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.347, allocations: 4 kB / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.347, allocations: 0 / 0.5576 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.347, allocations: 7.906 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.3471, allocations: 20.11 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3471, allocations: 0 / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.3472, allocations: 11.97 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3472, allocations: 4 kB / 0.5577 GB, free: 4.34 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.994e-05/0.3473, allocations: 105 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3473, allocations: 19.8 kB / 0.5578 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.3475, allocations: 99.02 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3475, allocations: 4 kB / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3475, allocations: 3.906 kB / 0.5579 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3475, allocations: 3.984 kB / 0.5579 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.3479, allocations: 388.1 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3479, allocations: 15.89 kB / 0.5583 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.348, allocations: 8 kB / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.348, allocations: 0 / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.348, allocations: 8 kB / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.348, allocations: 0 / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.348, allocations: 0 / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001835/0.3482, allocations: 209.9 kB / 0.5585 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.3483, allocations: 96.91 kB / 0.5586 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3483, allocations: 7.906 kB / 0.5586 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.3484, allocations: 4 kB / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3484, allocations: 11.92 kB / 0.5586 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.3485, allocations: 4 kB / 0.5586 GB, free: 3.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000148/0.3486, allocations: 196.2 kB / 0.5588 GB, free: 3.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.3489, allocations: 35.92 kB / 0.5588 GB, free: 3.039 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.000617/0.3495, allocations: 352 kB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.3496, allocations: 59.94 kB / 0.5592 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3496, allocations: 0 / 0.5592 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3497, allocations: 24 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3499, allocations: 27.83 kB / 0.5593 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3503, allocations: 216.7 kB / 0.5595 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.3506, allocations: 0.7502 MB / 0.5602 GB, free: 1.598 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3506, allocations: 0 / 0.5602 GB, free: 1.598 MB / 394.7 MB Notification: Performance of Templates: time 0.003738/0.3543, allocations: 1.748 MB / 0.5619 GB, free: 15.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches