Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [: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.001067/0.001067, allocations: 190.7 kB / 7.805 MB, free: 2.484 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.091/1.091, allocations: 205.2 MB / 213.4 MB, free: 13.89 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.0008897/0.0008897, allocations: 92.83 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.1599/0.1599, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.583e-06/6.603e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3498, allocations: 85.91 MB / 0.5493 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00015/0.35, allocations: 67.97 kB / 0.5493 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01508/0.3651, allocations: 6.05 MB / 0.5553 GB, free: 7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3651, allocations: 0 / 0.5553 GB, free: 7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003972/0.3656, allocations: 402.2 kB / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3656, allocations: 8.031 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.3656, allocations: 11.81 kB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3659, allocations: 194.9 kB / 0.5558 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.3659, allocations: 4 kB / 0.5558 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3659, allocations: 4 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.893e-05/0.366, allocations: 23.92 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3661, allocations: 59.41 kB / 0.5559 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3661, allocations: 4 kB / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3662, allocations: 0 / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3662, allocations: 0 / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.3665, allocations: 269.4 kB / 0.5562 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.3666, allocations: 45.5 kB / 0.5562 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.3667, allocations: 16.97 kB / 0.5563 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3667, allocations: 7.984 kB / 0.5563 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3667, allocations: 30.56 kB / 0.5563 GB, free: 5.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3667, allocations: 3.938 kB / 0.5563 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004877/0.3672, allocations: 129.4 kB / 0.5564 GB, free: 5.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3673, allocations: 81.05 kB / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3674, allocations: 128.9 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3674, allocations: 25.7 kB / 0.5566 GB, free: 5.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3675, allocations: 84.14 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.3675, allocations: 27.55 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3675, allocations: 0 / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3676, allocations: 326.8 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.3677, allocations: 16 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.3677, allocations: 21.72 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.3677, allocations: 23.98 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3678, allocations: 0 / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.3679, allocations: 73.58 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3679, allocations: 4 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3679, allocations: 0 / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3679, allocations: 4.031 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.368, allocations: 23.92 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3681, allocations: 7.906 kB / 0.5572 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3681, allocations: 4 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3681, allocations: 0 / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.811e-05/0.3682, allocations: 110.4 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3682, allocations: 11.91 kB / 0.5573 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.3684, allocations: 90.33 kB / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3684, allocations: 0 / 0.5574 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3684, allocations: 3.906 kB / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3685, allocations: 0 / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.3688, allocations: 335.1 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3688, allocations: 7.891 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.3689, allocations: 20 kB / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3689, allocations: 0 / 0.5578 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3689, allocations: 4 kB / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3689, allocations: 3.984 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3689, allocations: 3.938 kB / 0.5578 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001547/0.3691, allocations: 175.6 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3692, allocations: 88.95 kB / 0.558 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3692, allocations: 3.984 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.3693, allocations: 11.91 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3693, allocations: 7.922 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3693, allocations: 4.188 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.508e-05/0.3694, allocations: 107.3 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.3696, allocations: 28 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006152/0.3703, allocations: 332.7 kB / 0.5585 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3704, allocations: 43.98 kB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3704, allocations: 0 / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.3704, allocations: 31.94 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.3706, allocations: 15.84 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.3709, allocations: 111.5 kB / 0.5587 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.3713, allocations: 0.7192 MB / 0.5594 GB, free: 2.426 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3713, allocations: 0 / 0.5594 GB, free: 2.426 MB / 394.7 MB Notification: Performance of Templates: time 0.003428/0.3747, allocations: 1.473 MB / 0.5609 GB, free: 0.9609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches