Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [: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.0008274/0.0008274, allocations: 192.2 kB / 7.804 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.081/1.081, 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.0007989/0.000799, allocations: 92.16 kB / 261.4 MB, free: 13.52 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.1646/0.1646, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.741e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.353, allocations: 85.56 MB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001457/0.3532, allocations: 79.45 kB / 0.549 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008934/0.3621, allocations: 3.548 MB / 0.5525 GB, free: 9.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.3622, allocations: 11.94 kB / 0.5525 GB, free: 9.82 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.0003192/0.3625, allocations: 390 kB / 0.5529 GB, free: 9.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3625, allocations: 8.031 kB / 0.5529 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.3626, allocations: 7.906 kB / 0.5529 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3628, allocations: 205.6 kB / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.3628, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.3628, allocations: 4 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.302e-05/0.3629, allocations: 12 kB / 0.5531 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.08e-05/0.3629, allocations: 45.62 kB / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.363, allocations: 0 / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.363, allocations: 0 / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.363, allocations: 4 kB / 0.5531 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.3633, allocations: 257.4 kB / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3634, allocations: 29.72 kB / 0.5534 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.3634, allocations: 12.95 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3634, allocations: 3.984 kB / 0.5534 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3635, allocations: 34.5 kB / 0.5535 GB, free: 8.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3635, allocations: 0 / 0.5535 GB, free: 8.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003339/0.3638, allocations: 101.3 kB / 0.5536 GB, free: 8.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.3639, allocations: 55.41 kB / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.364, allocations: 181.3 kB / 0.5538 GB, free: 8.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3641, allocations: 25.7 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.3641, allocations: 88.12 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3641, allocations: 15.75 kB / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3641, allocations: 0 / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.3642, allocations: 326.8 kB / 0.5542 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.3643, allocations: 12 kB / 0.5542 GB, free: 7.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.3643, allocations: 15.94 kB / 0.5542 GB, free: 7.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.3643, allocations: 4.188 kB / 0.5542 GB, free: 7.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.3643, allocations: 0 / 0.5542 GB, free: 7.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.539e-05/0.3644, allocations: 69.5 kB / 0.5543 GB, free: 7.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.3644, allocations: 6.812 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3645, allocations: 0 / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.3645, allocations: 4 kB / 0.5543 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.3645, allocations: 15.98 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.3646, allocations: 0 / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.3646, allocations: 8 kB / 0.5543 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3646, allocations: 0 / 0.5543 GB, free: 7.727 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.934e-05/0.3647, allocations: 110.5 kB / 0.5544 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3647, allocations: 11.81 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.3648, allocations: 69.8 kB / 0.5545 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3649, allocations: 4 kB / 0.5545 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3649, allocations: 7.938 kB / 0.5545 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3649, allocations: 0 / 0.5545 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3652, allocations: 319 kB / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3652, allocations: 4 kB / 0.5548 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.3653, allocations: 15.92 kB / 0.5549 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3653, allocations: 4 kB / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3653, allocations: 0 / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3653, allocations: 4 kB / 0.5549 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3653, allocations: 0 / 0.5549 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.3654, allocations: 155.5 kB / 0.555 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.3655, allocations: 93.02 kB / 0.5551 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3655, allocations: 12.09 kB / 0.5551 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3656, allocations: 4 kB / 0.5551 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.3656, allocations: 11.98 kB / 0.5551 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3656, allocations: 3.984 kB / 0.5551 GB, free: 6.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001069/0.3657, allocations: 152.1 kB / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.366, allocations: 20 kB / 0.5553 GB, free: 6.652 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.00054/0.3665, allocations: 306.5 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.3666, allocations: 24 kB / 0.5556 GB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3666, allocations: 4 kB / 0.5556 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.3666, allocations: 12 kB / 0.5556 GB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.3668, allocations: 19.12 kB / 0.5556 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.3671, allocations: 151.8 kB / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.3674, allocations: 0.7264 MB / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3674, allocations: 0 / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of Templates: time 0.002884/0.3703, allocations: 1.167 MB / 0.5576 GB, free: 4.234 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches