Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") [: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.0008832/0.0008833, allocations: 188.9 kB / 7.8 MB, free: 2.504 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.096/1.096, 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.0007738/0.0007739, allocations: 89.72 kB / 261.4 MB, free: 13.55 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.1684/0.1684, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.531e-06/5.621e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2454, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3475, allocations: 85.56 MB / 0.5489 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.3477, allocations: 71.97 kB / 0.549 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008804/0.3565, allocations: 3.552 MB / 0.5525 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3565, allocations: 7.938 kB / 0.5525 GB, free: 9.773 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.0003077/0.3568, allocations: 386.1 kB / 0.5529 GB, free: 9.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3569, allocations: 12.03 kB / 0.5529 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3569, allocations: 7.906 kB / 0.5529 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3571, allocations: 205.6 kB / 0.5531 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.3571, allocations: 0 / 0.5531 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3572, allocations: 4 kB / 0.5531 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.635e-05/0.3572, allocations: 12 kB / 0.5531 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.723e-05/0.3573, allocations: 37.69 kB / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3573, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3573, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3573, allocations: 4 kB / 0.5531 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.3576, allocations: 269.4 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3578, allocations: 29.7 kB / 0.5534 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.3578, allocations: 12.86 kB / 0.5534 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3578, allocations: 0 / 0.5534 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3578, allocations: 30.56 kB / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3578, allocations: 4 kB / 0.5535 GB, free: 8.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003369/0.3582, allocations: 105.5 kB / 0.5536 GB, free: 8.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3582, allocations: 55.39 kB / 0.5536 GB, free: 8.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3584, allocations: 177.3 kB / 0.5538 GB, free: 8.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3584, allocations: 25.7 kB / 0.5538 GB, free: 8.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.3585, allocations: 92.12 kB / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.3585, allocations: 19.69 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.3585, allocations: 4 kB / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3586, allocations: 318.8 kB / 0.5542 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.3586, allocations: 12 kB / 0.5542 GB, free: 7.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.3587, allocations: 8 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.3587, allocations: 11.98 kB / 0.5542 GB, free: 7.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.3587, allocations: 0 / 0.5542 GB, free: 7.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.497e-05/0.3588, allocations: 57.52 kB / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.3588, allocations: 4 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3588, allocations: 8 kB / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3588, allocations: 3.984 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.3589, allocations: 23.92 kB / 0.5543 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.3589, allocations: 0 / 0.5543 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.359, allocations: 8.234 kB / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.359, allocations: 8 kB / 0.5544 GB, free: 7.664 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 6.709e-05/0.3591, allocations: 106.5 kB / 0.5545 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3591, allocations: 11.81 kB / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3592, allocations: 65.86 kB / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3592, allocations: 4 kB / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3592, allocations: 3.938 kB / 0.5545 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3592, allocations: 0 / 0.5545 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3596, allocations: 327 kB / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3596, allocations: 0 / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.3596, allocations: 16 kB / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3596, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3596, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3597, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3597, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/0.3598, allocations: 159.3 kB / 0.555 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.3599, allocations: 101 kB / 0.5551 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3599, allocations: 3.906 kB / 0.5551 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.36, allocations: 8 kB / 0.5551 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.36, allocations: 3.984 kB / 0.5551 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.36, allocations: 0 / 0.5551 GB, free: 6.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001174/0.3601, allocations: 152.1 kB / 0.5553 GB, free: 6.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.3604, allocations: 23.94 kB / 0.5553 GB, free: 6.605 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.0005499/0.3609, allocations: 309 kB / 0.5556 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.869e-05/0.361, allocations: 27.94 kB / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.361, allocations: 0 / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.361, allocations: 16 kB / 0.5556 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.3612, allocations: 15.28 kB / 0.5556 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3615, allocations: 151.8 kB / 0.5558 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3619, allocations: 0.7303 MB / 0.5565 GB, free: 5.344 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3619, allocations: 0 / 0.5565 GB, free: 5.344 MB / 394.7 MB Notification: Performance of Templates: time 0.002998/0.3649, allocations: 1.159 MB / 0.5576 GB, free: 4.188 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches