Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") [: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.0008767/0.0008768, allocations: 187.5 kB / 7.803 MB, free: 2.441 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.069/1.069, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008646/0.0008646, allocations: 88.78 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.1581/0.1581, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.992e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 58.82 MB / 476.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3499, allocations: 85.97 MB / 0.5493 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3502, allocations: 75.95 kB / 0.5494 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01471/0.3649, allocations: 5.796 MB / 0.5551 GB, free: 7.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3649, allocations: 4 kB / 0.5551 GB, free: 7.117 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.0003599/0.3653, allocations: 394.3 kB / 0.5554 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3653, allocations: 8.031 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3654, allocations: 11.91 kB / 0.5555 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3656, allocations: 184.7 kB / 0.5556 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3656, allocations: 0 / 0.5556 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3656, allocations: 4 kB / 0.5556 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.851e-05/0.3657, allocations: 19.89 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.3658, allocations: 55.41 kB / 0.5557 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3658, allocations: 0 / 0.5557 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3658, allocations: 3.938 kB / 0.5557 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3658, allocations: 0 / 0.5557 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.3662, allocations: 265.4 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3663, allocations: 33.7 kB / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.3664, allocations: 12.86 kB / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3664, allocations: 0 / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3664, allocations: 38.56 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3664, allocations: 0 / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003467/0.3668, allocations: 105.4 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3668, allocations: 77.11 kB / 0.5562 GB, free: 5.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.3669, allocations: 121 kB / 0.5563 GB, free: 5.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3669, allocations: 29.7 kB / 0.5564 GB, free: 5.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.367, allocations: 92.12 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.367, allocations: 11.75 kB / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.367, allocations: 0 / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3671, allocations: 318.8 kB / 0.5568 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.3672, allocations: 11.98 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.3672, allocations: 21.72 kB / 0.5568 GB, free: 5.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.3672, allocations: 16.02 kB / 0.5568 GB, free: 5.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3673, allocations: 11.91 kB / 0.5568 GB, free: 5.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.3674, allocations: 65.62 kB / 0.5569 GB, free: 5.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.3674, allocations: 7.938 kB / 0.5569 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3674, allocations: 3.906 kB / 0.5569 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3674, allocations: 4 kB / 0.5569 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.3675, allocations: 11.98 kB / 0.5569 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3675, allocations: 4 kB / 0.5569 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.3676, allocations: 8.25 kB / 0.5569 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3676, allocations: 7.938 kB / 0.5569 GB, free: 4.984 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 7.432e-05/0.3677, allocations: 106.4 kB / 0.557 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.3677, allocations: 7.906 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.3679, allocations: 81.66 kB / 0.5571 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3679, allocations: 0 / 0.5571 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3679, allocations: 0 / 0.5571 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3679, allocations: 3.906 kB / 0.5571 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.3682, allocations: 311.1 kB / 0.5574 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3682, allocations: 0 / 0.5574 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.3683, allocations: 12 kB / 0.5574 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3683, allocations: 0 / 0.5574 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3683, allocations: 3.984 kB / 0.5574 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3683, allocations: 7.844 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3683, allocations: 4 kB / 0.5575 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001249/0.3684, allocations: 159.5 kB / 0.5576 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3685, allocations: 85.02 kB / 0.5577 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3685, allocations: 3.984 kB / 0.5577 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.3686, allocations: 8 kB / 0.5577 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3686, allocations: 0 / 0.5577 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3687, allocations: 7.984 kB / 0.5577 GB, free: 4.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.927e-05/0.3687, allocations: 107.8 kB / 0.5578 GB, free: 4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.369, allocations: 27.98 kB / 0.5578 GB, free: 3.973 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.0006497/0.3696, allocations: 334.2 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.3697, allocations: 36 kB / 0.5582 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3697, allocations: 4 kB / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.3698, allocations: 16 kB / 0.5582 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.37, allocations: 15.75 kB / 0.5582 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.3702, allocations: 103.8 kB / 0.5583 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.3706, allocations: 0.7153 MB / 0.559 GB, free: 2.734 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3706, allocations: 0 / 0.559 GB, free: 2.734 MB / 394.7 MB Notification: Performance of Templates: time 0.003256/0.3738, allocations: 1.36 MB / 0.5604 GB, free: 1.383 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches