Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [: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.0009013/0.0009014, allocations: 194.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9956/0.9956, 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.0007746/0.0007746, allocations: 93.55 kB / 261.4 MB, free: 13.53 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.147/0.147, allocations: 43.5 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.023e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 58.83 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09356/0.2891, allocations: 86.92 MB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.2893, allocations: 75.95 kB / 0.5504 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01414/0.3035, allocations: 5.537 MB / 0.5558 GB, free: 6.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3035, allocations: 4 kB / 0.5558 GB, free: 6.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003779/0.3039, allocations: 414 kB / 0.5562 GB, free: 6.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.3039, allocations: 12.03 kB / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.304, allocations: 19.72 kB / 0.5562 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3043, allocations: 230.6 kB / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3043, allocations: 0 / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3043, allocations: 4 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.691e-05/0.3044, allocations: 35.92 kB / 0.5565 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.3045, allocations: 65.66 kB / 0.5565 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3045, allocations: 4 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3045, allocations: 3.984 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3045, allocations: 3.938 kB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.3049, allocations: 305.4 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.305, allocations: 70.67 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.3051, allocations: 24.86 kB / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3051, allocations: 0 / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.314e-05/0.3052, allocations: 83.42 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3052, allocations: 0 / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004132/0.3056, allocations: 185 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3056, allocations: 51.41 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3059, allocations: 221.7 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3059, allocations: 25.7 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.3059, allocations: 96.12 kB / 0.5575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.306, allocations: 35.55 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.306, allocations: 3.938 kB / 0.5576 GB, free: 4.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.3061, allocations: 326.8 kB / 0.5579 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.3061, allocations: 28 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.3062, allocations: 51.45 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.3062, allocations: 31.98 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3062, allocations: 0 / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000175/0.3064, allocations: 129.3 kB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3064, allocations: 10.81 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3065, allocations: 0 / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3065, allocations: 0 / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3066, allocations: 23.98 kB / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.3066, allocations: 3.938 kB / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.3066, allocations: 0 / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3067, allocations: 8 kB / 0.5582 GB, free: 3.793 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 (13): * Single equations (assignments): 13 * 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.156e-05/0.3067, allocations: 114.3 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3068, allocations: 27.73 kB / 0.5583 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.307, allocations: 139.3 kB / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.307, allocations: 0 / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.307, allocations: 0 / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.307, allocations: 0 / 0.5584 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.3074, allocations: 439.7 kB / 0.5589 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3075, allocations: 4.031 kB / 0.5589 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.3075, allocations: 19.92 kB / 0.5589 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3075, allocations: 4 kB / 0.5589 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3076, allocations: 4 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3076, allocations: 4 kB / 0.5589 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3076, allocations: 7.891 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001948/0.3078, allocations: 238.3 kB / 0.5591 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3078, allocations: 100.9 kB / 0.5592 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3079, allocations: 11.88 kB / 0.5592 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.308, allocations: 0 / 0.5592 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.308, allocations: 23.83 kB / 0.5593 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.308, allocations: 4 kB / 0.5593 GB, free: 2.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001371/0.3082, allocations: 175.2 kB / 0.5594 GB, free: 2.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.3084, allocations: 32 kB / 0.5595 GB, free: 2.367 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 (13): * Single equations (assignments): 11 * 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.0005744/0.309, allocations: 340.4 kB / 0.5598 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3091, allocations: 79.94 kB / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.3092, allocations: 0 / 0.5599 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.3092, allocations: 48.05 kB / 0.5599 GB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3095, allocations: 31.97 kB / 0.5599 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.3099, allocations: 224.2 kB / 0.5601 GB, free: 1.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.3101, allocations: 0.75 MB / 0.5609 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3101, allocations: 3.938 kB / 0.5609 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of Templates: time 0.003784/0.3139, allocations: 1.927 MB / 0.5628 GB, free: 14.97 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches