Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0008514/0.0008514, allocations: 189.4 kB / 7.804 MB, free: 2.496 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.086/1.086, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007294/0.0007293, allocations: 88.47 kB / 261.4 MB, free: 13.48 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.1571/0.1571, allocations: 43.49 MB / 352.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.398e-06/4.428e-06, allocations: 0 / 417.7 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2436, allocations: 58.84 MB / 476.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3497, allocations: 86.4 MB / 0.5498 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.3499, allocations: 75.95 kB / 0.5498 GB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009654/0.3595, allocations: 3.913 MB / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3596, allocations: 4 kB / 0.5537 GB, free: 8.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003092/0.3599, allocations: 398.1 kB / 0.554 GB, free: 7.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.395e-05/0.3599, allocations: 12.02 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.36, allocations: 7.906 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3601, allocations: 202.7 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-06/0.3602, allocations: 3.938 kB / 0.5543 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3602, allocations: 8 kB / 0.5543 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.901e-05/0.3602, allocations: 19.94 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.148e-05/0.3603, allocations: 49.69 kB / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.3603, allocations: 0 / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3603, allocations: 0 / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-06/0.3603, allocations: 0 / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3607, allocations: 305.3 kB / 0.5546 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.3608, allocations: 30.58 kB / 0.5546 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.3608, allocations: 20.8 kB / 0.5547 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3608, allocations: 4 kB / 0.5547 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3608, allocations: 34.55 kB / 0.5547 GB, free: 7.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3608, allocations: 0 / 0.5547 GB, free: 7.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.3612, allocations: 153.3 kB / 0.5549 GB, free: 7.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.3613, allocations: 51.41 kB / 0.5549 GB, free: 6.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3614, allocations: 168.2 kB / 0.5551 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3614, allocations: 25.7 kB / 0.5551 GB, free: 6.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.3615, allocations: 100.1 kB / 0.5552 GB, free: 6.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3615, allocations: 23.7 kB / 0.5552 GB, free: 6.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.3615, allocations: 0 / 0.5552 GB, free: 6.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3616, allocations: 330.7 kB / 0.5555 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.3617, allocations: 16 kB / 0.5555 GB, free: 6.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.3617, allocations: 16 kB / 0.5556 GB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.3617, allocations: 28.28 kB / 0.5556 GB, free: 6.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3617, allocations: 3.938 kB / 0.5556 GB, free: 6.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001291/0.3619, allocations: 97.56 kB / 0.5557 GB, free: 6.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.3619, allocations: 4 kB / 0.5557 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.3619, allocations: 0 / 0.5557 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.3619, allocations: 0 / 0.5557 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.362, allocations: 23.98 kB / 0.5557 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/0.362, allocations: 0 / 0.5557 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.3621, allocations: 27.83 kB / 0.5557 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3621, allocations: 0 / 0.5557 GB, free: 6.109 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 (7): * Single equations (assignments): 7 * 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.514e-05/0.3622, allocations: 110.3 kB / 0.5558 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3622, allocations: 7.906 kB / 0.5558 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.3624, allocations: 102.1 kB / 0.5559 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3624, allocations: 7.938 kB / 0.5559 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3624, allocations: 4.141 kB / 0.5559 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3624, allocations: 3.984 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3628, allocations: 362.9 kB / 0.5563 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3628, allocations: 0 / 0.5563 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.3629, allocations: 23.98 kB / 0.5563 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3629, allocations: 4 kB / 0.5563 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.3629, allocations: 0 / 0.5563 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3629, allocations: 0 / 0.5563 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3629, allocations: 4 kB / 0.5563 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001656/0.3631, allocations: 179.6 kB / 0.5565 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.3631, allocations: 97 kB / 0.5566 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3632, allocations: 4 kB / 0.5566 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3633, allocations: 19.98 kB / 0.5566 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.3633, allocations: 7.922 kB / 0.5566 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.3633, allocations: 4 kB / 0.5566 GB, free: 5.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.867e-05/0.3634, allocations: 136.1 kB / 0.5568 GB, free: 4.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.3637, allocations: 27.89 kB / 0.5568 GB, free: 4.938 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 (7): * Single equations (assignments): 7 * 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.0005014/0.3642, allocations: 302 kB / 0.5571 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.3643, allocations: 47.98 kB / 0.5571 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.3643, allocations: 4 kB / 0.5571 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.3643, allocations: 31.92 kB / 0.5572 GB, free: 4.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.3645, allocations: 15.98 kB / 0.5572 GB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3648, allocations: 163.2 kB / 0.5573 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.3651, allocations: 0.7309 MB / 0.558 GB, free: 3.637 MB / 394.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3651, allocations: 0 / 0.558 GB, free: 3.637 MB / 394.7 MB Notification: Performance of Templates: time 0.00298/0.3681, allocations: 1.382 MB / 0.5594 GB, free: 2.262 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches