Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,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.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.CombiTable1D.Test21") [: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.0008631/0.000863, allocations: 192.6 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 1.078/1.078, 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.0008666/0.0008669, allocations: 94.84 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.1606/0.1606, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.058e-06/4.148e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2508, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.3552, allocations: 85.97 MB / 0.5493 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.3554, allocations: 71.97 kB / 0.5494 GB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01415/0.3696, allocations: 5.796 MB / 0.5551 GB, free: 7.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3696, allocations: 4 kB / 0.5551 GB, free: 7.105 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.0002703/0.3699, allocations: 394.3 kB / 0.5554 GB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.045e-05/0.3699, allocations: 15.91 kB / 0.5555 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.3699, allocations: 7.906 kB / 0.5555 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3701, allocations: 184.7 kB / 0.5556 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-06/0.3701, allocations: 0 / 0.5556 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3701, allocations: 4 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.649e-05/0.3702, allocations: 15.91 kB / 0.5557 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.3702, allocations: 59.41 kB / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.3703, allocations: 0 / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.3703, allocations: 0 / 0.5557 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.3703, allocations: 4 kB / 0.5557 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.3705, allocations: 265.3 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3706, allocations: 29.72 kB / 0.556 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.3707, allocations: 12.86 kB / 0.556 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3707, allocations: 0 / 0.556 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3707, allocations: 38.64 kB / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3707, allocations: 0 / 0.5561 GB, free: 5.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002826/0.371, allocations: 105.3 kB / 0.5562 GB, free: 5.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.3711, allocations: 77.11 kB / 0.5562 GB, free: 5.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.3711, allocations: 121 kB / 0.5563 GB, free: 5.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.3712, allocations: 25.7 kB / 0.5564 GB, free: 5.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.3712, allocations: 92.12 kB / 0.5565 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.3712, allocations: 11.75 kB / 0.5565 GB, free: 5.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.3712, allocations: 0 / 0.5565 GB, free: 5.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.3713, allocations: 326.8 kB / 0.5568 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.3713, allocations: 8 kB / 0.5568 GB, free: 5.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.3714, allocations: 25.72 kB / 0.5568 GB, free: 5.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.3714, allocations: 16.17 kB / 0.5568 GB, free: 5.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3714, allocations: 7.844 kB / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.675e-05/0.3715, allocations: 69.62 kB / 0.5569 GB, free: 5.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/0.3715, allocations: 4 kB / 0.5569 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3715, allocations: 3.906 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.3715, allocations: 4 kB / 0.5569 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.3716, allocations: 20.02 kB / 0.5569 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.3716, allocations: 0 / 0.5569 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.3717, allocations: 4 kB / 0.5569 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3717, allocations: 0 / 0.5569 GB, free: 4.98 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 4.907e-05/0.3717, allocations: 110.4 kB / 0.557 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3718, allocations: 11.91 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3719, allocations: 77.67 kB / 0.5571 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3719, allocations: 0 / 0.5571 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3719, allocations: 0 / 0.5571 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3719, allocations: 3.906 kB / 0.5571 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3722, allocations: 311.1 kB / 0.5574 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3722, allocations: 0 / 0.5574 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.3723, allocations: 19.98 kB / 0.5574 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3723, allocations: 0 / 0.5574 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.3723, allocations: 0 / 0.5574 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.3723, allocations: 7.906 kB / 0.5575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3723, allocations: 3.938 kB / 0.5575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/0.3724, allocations: 155.6 kB / 0.5576 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.3725, allocations: 89.14 kB / 0.5577 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3725, allocations: 4.062 kB / 0.5577 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.3726, allocations: 12 kB / 0.5577 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3726, allocations: 7.969 kB / 0.5577 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3726, allocations: 0 / 0.5577 GB, free: 4.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.665e-05/0.3727, allocations: 111.8 kB / 0.5578 GB, free: 3.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.3729, allocations: 27.94 kB / 0.5578 GB, free: 3.953 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.0005215/0.3734, allocations: 326.9 kB / 0.5582 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.3735, allocations: 35.98 kB / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.3735, allocations: 0 / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.3736, allocations: 19.94 kB / 0.5582 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3737, allocations: 19.73 kB / 0.5582 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.374, allocations: 108 kB / 0.5583 GB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3742, allocations: 0.7114 MB / 0.559 GB, free: 2.727 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.3742, allocations: 0 / 0.559 GB, free: 2.727 MB / 394.7 MB Notification: Performance of Templates: time 0.002932/0.3772, allocations: 1.344 MB / 0.5603 GB, free: 1.391 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches