Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.0009197/0.0009197, allocations: 180.2 kB / 7.803 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.2 MB / 213.4 MB, free: 8.609 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007785/0.0007785, allocations: 84.92 kB / 261.4 MB, free: 5.113 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1637/0.1637, allocations: 43.5 MB / 352.9 MB, free: 11.37 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/5.991e-06, allocations: 0 / 417.7 MB, free: 68.21 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09029, allocations: 58.84 MB / 476.6 MB, free: 9.309 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/0.3496, allocations: 85.85 MB / 0.5492 GB, free: 10.39 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001568/0.3498, allocations: 74.45 kB / 0.5493 GB, free: 10.35 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01402/0.3639, allocations: 5.771 MB / 0.5549 GB, free: 5.895 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3639, allocations: 4 kB / 0.5549 GB, free: 5.891 MB / 370.8 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.0003827/0.3643, allocations: 393.8 kB / 0.5553 GB, free: 5.465 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3644, allocations: 12.03 kB / 0.5553 GB, free: 5.453 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3644, allocations: 7.156 kB / 0.5553 GB, free: 5.449 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3646, allocations: 189.7 kB / 0.5555 GB, free: 5.227 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3646, allocations: 3.938 kB / 0.5555 GB, free: 5.223 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3646, allocations: 0 / 0.5555 GB, free: 5.223 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.358e-05/0.3647, allocations: 18.84 kB / 0.5555 GB, free: 5.207 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3648, allocations: 59.16 kB / 0.5556 GB, free: 5.141 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3648, allocations: 0 / 0.5556 GB, free: 5.141 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3648, allocations: 0 / 0.5556 GB, free: 5.141 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3649, allocations: 0 / 0.5556 GB, free: 5.141 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.3651, allocations: 248.1 kB / 0.5558 GB, free: 4.875 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3653, allocations: 43.88 kB / 0.5559 GB, free: 4.832 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.3653, allocations: 8.859 kB / 0.5559 GB, free: 4.82 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3653, allocations: 0 / 0.5559 GB, free: 4.82 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3654, allocations: 34.56 kB / 0.5559 GB, free: 4.777 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3654, allocations: 0 / 0.5559 GB, free: 4.777 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003258/0.3657, allocations: 103.3 kB / 0.556 GB, free: 4.684 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3658, allocations: 81.11 kB / 0.5561 GB, free: 4.586 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3659, allocations: 121.3 kB / 0.5562 GB, free: 4.473 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3659, allocations: 25.7 kB / 0.5562 GB, free: 4.441 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.3659, allocations: 80.14 kB / 0.5563 GB, free: 4.359 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3659, allocations: 19.69 kB / 0.5563 GB, free: 4.344 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.366, allocations: 0 / 0.5563 GB, free: 4.344 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3661, allocations: 318.6 kB / 0.5566 GB, free: 4.027 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.3661, allocations: 8 kB / 0.5566 GB, free: 4.02 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3661, allocations: 23.84 kB / 0.5567 GB, free: 3.996 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.3662, allocations: 19.61 kB / 0.5567 GB, free: 3.98 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3662, allocations: 7.844 kB / 0.5567 GB, free: 3.973 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.262e-05/0.3663, allocations: 47.7 kB / 0.5567 GB, free: 3.926 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.3663, allocations: 8 kB / 0.5567 GB, free: 3.918 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3663, allocations: 3.906 kB / 0.5567 GB, free: 3.914 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.3663, allocations: 0 / 0.5567 GB, free: 3.914 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.3664, allocations: 23.95 kB / 0.5568 GB, free: 3.891 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.3664, allocations: 0 / 0.5568 GB, free: 3.891 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.3664, allocations: 7.984 kB / 0.5568 GB, free: 3.883 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3664, allocations: 4 kB / 0.5568 GB, free: 3.879 MB / 370.8 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.356e-05/0.3665, allocations: 106.3 kB / 0.5569 GB, free: 3.773 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3665, allocations: 7.906 kB / 0.5569 GB, free: 3.766 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3667, allocations: 61.12 kB / 0.5569 GB, free: 3.703 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3667, allocations: 4 kB / 0.5569 GB, free: 3.699 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3667, allocations: 0 / 0.5569 GB, free: 3.699 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3667, allocations: 7.891 kB / 0.557 GB, free: 3.691 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.367, allocations: 296.4 kB / 0.5572 GB, free: 3.379 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.367, allocations: 0 / 0.5572 GB, free: 3.379 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.3671, allocations: 15.98 kB / 0.5573 GB, free: 3.363 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3671, allocations: 0 / 0.5573 GB, free: 3.363 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3671, allocations: 4 kB / 0.5573 GB, free: 3.359 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3671, allocations: 7.844 kB / 0.5573 GB, free: 3.352 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3671, allocations: 0 / 0.5573 GB, free: 3.352 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001286/0.3672, allocations: 158.1 kB / 0.5574 GB, free: 3.191 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.3673, allocations: 92.25 kB / 0.5575 GB, free: 3.086 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3673, allocations: 4 kB / 0.5575 GB, free: 3.082 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3674, allocations: 8 kB / 0.5575 GB, free: 3.074 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3674, allocations: 7.984 kB / 0.5575 GB, free: 3.066 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3674, allocations: 0 / 0.5575 GB, free: 3.066 MB / 370.8 MB Notification: Performance of sort global known variables: time 7.097e-05/0.3675, allocations: 107.7 kB / 0.5576 GB, free: 2.973 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.000238/0.3677, allocations: 27.94 kB / 0.5577 GB, free: 2.945 MB / 370.8 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.0005918/0.3683, allocations: 334.1 kB / 0.558 GB, free: 2.664 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.3684, allocations: 27.38 kB / 0.558 GB, free: 2.645 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3684, allocations: 0 / 0.558 GB, free: 2.645 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.3685, allocations: 18.69 kB / 0.558 GB, free: 2.633 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3687, allocations: 16.14 kB / 0.558 GB, free: 2.617 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.3689, allocations: 94.56 kB / 0.5581 GB, free: 2.508 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3692, allocations: 0.7192 MB / 0.5588 GB, free: 1.762 MB / 370.8 MB Notification: Performance of SimCode: time 2.3e-07/0.3692, allocations: 0 / 0.5588 GB, free: 1.762 MB / 370.8 MB Notification: Performance of Templates: time 0.003256/0.3725, allocations: 1.315 MB / 0.5601 GB, free: 472 kB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches