Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.0008668/0.0008669, allocations: 188.8 kB / 7.804 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.106/1.106, 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.0007972/0.0007972, allocations: 93.09 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.1611/0.1611, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.45e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 58.83 MB / 476.6 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.349, allocations: 85.86 MB / 0.5492 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3492, allocations: 75.95 kB / 0.5493 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01451/0.3638, allocations: 5.775 MB / 0.5549 GB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3638, allocations: 4 kB / 0.555 GB, free: 7.246 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.0003022/0.3641, allocations: 386.3 kB / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.3641, allocations: 12.03 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.3642, allocations: 7.906 kB / 0.5553 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3643, allocations: 190.9 kB / 0.5555 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.3643, allocations: 0 / 0.5555 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.3644, allocations: 0 / 0.5555 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.587e-05/0.3644, allocations: 15.91 kB / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.425e-05/0.3645, allocations: 51.41 kB / 0.5556 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.3645, allocations: 7.922 kB / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3645, allocations: 0 / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-06/0.3645, allocations: 8 kB / 0.5556 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.3648, allocations: 257.3 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.3649, allocations: 25.72 kB / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.3649, allocations: 8.859 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.3649, allocations: 0 / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3649, allocations: 38.56 kB / 0.5559 GB, free: 6.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3649, allocations: 0 / 0.5559 GB, free: 6.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002918/0.3652, allocations: 97.41 kB / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3653, allocations: 81.11 kB / 0.5561 GB, free: 5.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3654, allocations: 118.4 kB / 0.5562 GB, free: 5.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3654, allocations: 25.7 kB / 0.5562 GB, free: 5.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.3655, allocations: 92.14 kB / 0.5563 GB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3655, allocations: 19.73 kB / 0.5563 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3655, allocations: 0 / 0.5563 GB, free: 5.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.3656, allocations: 314.8 kB / 0.5566 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.3656, allocations: 8 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.3657, allocations: 21.72 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.3657, allocations: 16.17 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3657, allocations: 7.844 kB / 0.5567 GB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.241e-05/0.3658, allocations: 57.67 kB / 0.5567 GB, free: 5.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.3658, allocations: 4 kB / 0.5567 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3658, allocations: 7.891 kB / 0.5567 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.3658, allocations: 4 kB / 0.5568 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.3659, allocations: 12 kB / 0.5568 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.3659, allocations: 0 / 0.5568 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.366, allocations: 11.98 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.366, allocations: 4 kB / 0.5568 GB, free: 5.16 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.847e-05/0.366, allocations: 106.4 kB / 0.5569 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.3661, allocations: 7.906 kB / 0.5569 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3662, allocations: 61.69 kB / 0.5569 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3662, allocations: 7.984 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.3662, allocations: 0 / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3662, allocations: 3.906 kB / 0.557 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3665, allocations: 299.2 kB / 0.5572 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3665, allocations: 3.984 kB / 0.5572 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.3666, allocations: 12 kB / 0.5573 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3666, allocations: 4 kB / 0.5573 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.3666, allocations: 0 / 0.5573 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3666, allocations: 3.906 kB / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3666, allocations: 0 / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001174/0.3667, allocations: 167.5 kB / 0.5574 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.3668, allocations: 93 kB / 0.5575 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3668, allocations: 0 / 0.5575 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3669, allocations: 4 kB / 0.5575 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3669, allocations: 7.984 kB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3669, allocations: 0 / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.755e-05/0.367, allocations: 100.1 kB / 0.5576 GB, free: 4.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.3672, allocations: 31.94 kB / 0.5576 GB, free: 4.172 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.0005377/0.3677, allocations: 334.8 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.354e-05/0.3678, allocations: 28 kB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.3678, allocations: 4 kB / 0.558 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.3678, allocations: 12.12 kB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.368, allocations: 19.88 kB / 0.558 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.3682, allocations: 99.75 kB / 0.5581 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.3685, allocations: 0.7191 MB / 0.5588 GB, free: 2.941 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3685, allocations: 0 / 0.5588 GB, free: 2.941 MB / 394.7 MB Notification: Performance of Templates: time 0.002822/0.3713, allocations: 1.316 MB / 0.5601 GB, free: 1.633 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches