Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24") [: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.0009676/0.0009678, allocations: 186.7 kB / 7.806 MB, free: 2.496 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.079/1.079, 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.00077/0.0007698, allocations: 91.62 kB / 261.4 MB, free: 13.54 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.1643/0.1643, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.309e-06/5.33e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2503, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3535, allocations: 85.86 MB / 0.5492 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.3537, allocations: 71.95 kB / 0.5493 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01473/0.3685, allocations: 5.776 MB / 0.5549 GB, free: 7.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3685, allocations: 4 kB / 0.5549 GB, free: 7.309 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003645/0.3689, allocations: 398.3 kB / 0.5553 GB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3689, allocations: 8.031 kB / 0.5553 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.369, allocations: 11.91 kB / 0.5553 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3692, allocations: 183 kB / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.3692, allocations: 0 / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3692, allocations: 4 kB / 0.5555 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.445e-05/0.3693, allocations: 11.91 kB / 0.5555 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.3694, allocations: 59.34 kB / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3694, allocations: 0 / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3694, allocations: 0 / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.3694, allocations: 0 / 0.5556 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.3697, allocations: 253.4 kB / 0.5558 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3699, allocations: 25.72 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.3699, allocations: 12.86 kB / 0.5559 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.37, allocations: 4 kB / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.37, allocations: 38.44 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.37, allocations: 4 kB / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003567/0.3704, allocations: 101.5 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3704, allocations: 77.11 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3705, allocations: 125 kB / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3706, allocations: 25.7 kB / 0.5562 GB, free: 5.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.3706, allocations: 80.14 kB / 0.5563 GB, free: 5.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3706, allocations: 27.73 kB / 0.5563 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.3706, allocations: 0 / 0.5563 GB, free: 5.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3707, allocations: 314.8 kB / 0.5566 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.3708, allocations: 8 kB / 0.5566 GB, free: 5.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.3708, allocations: 21.66 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.3708, allocations: 15.98 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3709, allocations: 3.906 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.911e-05/0.3709, allocations: 53.64 kB / 0.5567 GB, free: 5.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.371, allocations: 12.03 kB / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.371, allocations: 3.906 kB / 0.5567 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.371, allocations: 3.984 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.3711, allocations: 12 kB / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.3711, allocations: 0 / 0.5568 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.3711, allocations: 8.125 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3711, allocations: 8 kB / 0.5568 GB, free: 5.219 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 (5): * Single equations (assignments): 5 * 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 5.975e-05/0.3712, allocations: 102.4 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.3713, allocations: 12.14 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.3714, allocations: 77.67 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3714, allocations: 0 / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3714, allocations: 3.984 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3714, allocations: 3.906 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.3717, allocations: 291.2 kB / 0.5572 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3717, allocations: 7.984 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.3718, allocations: 15.94 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3718, allocations: 0 / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3718, allocations: 0 / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3718, allocations: 3.906 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3718, allocations: 0 / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001321/0.372, allocations: 159.5 kB / 0.5574 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.372, allocations: 89 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.372, allocations: 0 / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.3721, allocations: 4 kB / 0.5575 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3722, allocations: 7.984 kB / 0.5575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3722, allocations: 0 / 0.5575 GB, free: 4.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.214e-05/0.3722, allocations: 107.3 kB / 0.5576 GB, free: 4.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.3725, allocations: 27.94 kB / 0.5577 GB, free: 4.23 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 (5): * Single equations (assignments): 5 * 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.0006135/0.3731, allocations: 336.4 kB / 0.558 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.3732, allocations: 28 kB / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3732, allocations: 0 / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.3732, allocations: 19.94 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.3734, allocations: 23.75 kB / 0.558 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.3737, allocations: 87.81 kB / 0.5581 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.374, allocations: 0.7114 MB / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.374, allocations: 0 / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of Templates: time 0.003275/0.3773, allocations: 1.324 MB / 0.5601 GB, free: 1.699 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches