Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [: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.0008732/0.0008732, allocations: 189.7 kB / 7.803 MB, free: 2.449 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.087/1.087, 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.0007493/0.0007491, allocations: 92.64 kB / 261.4 MB, free: 13.6 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.157/0.157, allocations: 43.48 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.022e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.3503, allocations: 85.52 MB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001431/0.3505, allocations: 75.41 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01085/0.3614, allocations: 3.247 MB / 0.5521 GB, free: 10.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3614, allocations: 8 kB / 0.5521 GB, free: 10.11 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.0003461/0.3618, allocations: 366.2 kB / 0.5525 GB, free: 9.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3618, allocations: 8.031 kB / 0.5525 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.3619, allocations: 7.906 kB / 0.5525 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3622, allocations: 202.2 kB / 0.5527 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3622, allocations: 0 / 0.5527 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3622, allocations: 8 kB / 0.5527 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.549e-05/0.3623, allocations: 15.94 kB / 0.5527 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/0.3624, allocations: 41.69 kB / 0.5528 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3624, allocations: 11.89 kB / 0.5528 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3624, allocations: 0 / 0.5528 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3624, allocations: 0 / 0.5528 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.3628, allocations: 249.5 kB / 0.553 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3629, allocations: 33.7 kB / 0.553 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.363, allocations: 12.8 kB / 0.5531 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.363, allocations: 0 / 0.5531 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/0.3631, allocations: 34.56 kB / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3631, allocations: 0 / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.3635, allocations: 101.5 kB / 0.5532 GB, free: 8.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3635, allocations: 51.41 kB / 0.5532 GB, free: 8.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3637, allocations: 141 kB / 0.5534 GB, free: 8.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3637, allocations: 25.7 kB / 0.5534 GB, free: 8.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3638, allocations: 96.06 kB / 0.5535 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3638, allocations: 11.72 kB / 0.5535 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.3638, allocations: 0 / 0.5535 GB, free: 8.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.364, allocations: 326.8 kB / 0.5538 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.364, allocations: 8 kB / 0.5538 GB, free: 8.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.364, allocations: 19.94 kB / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.3641, allocations: 11.98 kB / 0.5538 GB, free: 8.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3641, allocations: 0 / 0.5538 GB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.3642, allocations: 57.61 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3642, allocations: 6.812 kB / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3642, allocations: 0 / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.3642, allocations: 0 / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.3643, allocations: 15.98 kB / 0.5539 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3643, allocations: 4 kB / 0.5539 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.3644, allocations: 15.89 kB / 0.5539 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3644, allocations: 0 / 0.5539 GB, free: 8.078 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.419e-05/0.3645, allocations: 106.3 kB / 0.554 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3645, allocations: 7.906 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.3647, allocations: 65.86 kB / 0.5541 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3647, allocations: 8 kB / 0.5541 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3647, allocations: 0 / 0.5541 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3647, allocations: 3.984 kB / 0.5541 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.365, allocations: 315.4 kB / 0.5544 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.365, allocations: 0 / 0.5544 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.3651, allocations: 19.94 kB / 0.5544 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3652, allocations: 0 / 0.5544 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3652, allocations: 0 / 0.5544 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3652, allocations: 4 kB / 0.5545 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3652, allocations: 3.906 kB / 0.5545 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001315/0.3653, allocations: 159.6 kB / 0.5546 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.3654, allocations: 89 kB / 0.5547 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3655, allocations: 0 / 0.5547 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3656, allocations: 4 kB / 0.5547 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.3656, allocations: 11.98 kB / 0.5547 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3657, allocations: 3.906 kB / 0.5547 GB, free: 7.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.409e-05/0.3657, allocations: 127 kB / 0.5548 GB, free: 7.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.366, allocations: 23.92 kB / 0.5549 GB, free: 7.055 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.0005387/0.3666, allocations: 294.5 kB / 0.5551 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.3667, allocations: 28 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.3667, allocations: 4 kB / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.3667, allocations: 19.92 kB / 0.5552 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.3669, allocations: 19.14 kB / 0.5552 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.3672, allocations: 123.6 kB / 0.5553 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.3675, allocations: 0.7114 MB / 0.556 GB, free: 5.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3675, allocations: 0 / 0.556 GB, free: 5.84 MB / 394.7 MB Notification: Performance of Templates: time 0.002977/0.3705, allocations: 1.116 MB / 0.5571 GB, free: 4.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches