Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") [: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.0009114/0.0009117, allocations: 191.4 kB / 7.806 MB, free: 2.492 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.083/1.083, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0008013/0.0008012, allocations: 97.48 kB / 261.4 MB, free: 13.59 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.1653/0.1653, allocations: 43.49 MB / 352.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-06/4.087e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3534, allocations: 85.6 MB / 0.549 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001459/0.3536, allocations: 71.25 kB / 0.5491 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009225/0.3628, allocations: 3.548 MB / 0.5525 GB, free: 9.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3629, allocations: 0 / 0.5525 GB, free: 9.699 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000275/0.3632, allocations: 382.1 kB / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.193e-05/0.3632, allocations: 8.031 kB / 0.5529 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3632, allocations: 7.906 kB / 0.5529 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3634, allocations: 193.8 kB / 0.5531 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.3634, allocations: 4 kB / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3634, allocations: 0 / 0.5531 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.693e-05/0.3635, allocations: 23.98 kB / 0.5531 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.701e-05/0.3636, allocations: 53.53 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.3636, allocations: 7.938 kB / 0.5532 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-06/0.3636, allocations: 3.984 kB / 0.5532 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-06/0.3636, allocations: 4 kB / 0.5532 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.3639, allocations: 269.3 kB / 0.5534 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.3639, allocations: 33.72 kB / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.364, allocations: 12.84 kB / 0.5535 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.364, allocations: 8.125 kB / 0.5535 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.364, allocations: 42.44 kB / 0.5535 GB, free: 8.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.364, allocations: 0 / 0.5535 GB, free: 8.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003227/0.3644, allocations: 125.3 kB / 0.5536 GB, free: 8.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3644, allocations: 55.41 kB / 0.5537 GB, free: 8.328 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3645, allocations: 137.2 kB / 0.5538 GB, free: 8.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3645, allocations: 25.7 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3646, allocations: 88.12 kB / 0.5539 GB, free: 8.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3646, allocations: 23.56 kB / 0.554 GB, free: 8.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3646, allocations: 0 / 0.554 GB, free: 8.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.3647, allocations: 323 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.3647, allocations: 12 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.3648, allocations: 16 kB / 0.5543 GB, free: 7.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.3648, allocations: 19.92 kB / 0.5543 GB, free: 7.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3648, allocations: 4 kB / 0.5543 GB, free: 7.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.3649, allocations: 77.59 kB / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3649, allocations: 4 kB / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.3649, allocations: 0 / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/0.365, allocations: 0 / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3651, allocations: 20.17 kB / 0.5544 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3651, allocations: 7.906 kB / 0.5544 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.3651, allocations: 12 kB / 0.5544 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3651, allocations: 0 / 0.5544 GB, free: 7.539 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 (8): * Single equations (assignments): 8 * 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.448e-05/0.3652, allocations: 110.3 kB / 0.5545 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3652, allocations: 7.906 kB / 0.5545 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.3654, allocations: 94.47 kB / 0.5546 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3654, allocations: 3.906 kB / 0.5546 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3654, allocations: 0 / 0.5546 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.3654, allocations: 0 / 0.5546 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.3657, allocations: 351 kB / 0.555 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3658, allocations: 0 / 0.555 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.3658, allocations: 20 kB / 0.555 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3658, allocations: 3.984 kB / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.3659, allocations: 0 / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3659, allocations: 0 / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3659, allocations: 0 / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001341/0.366, allocations: 187.4 kB / 0.5552 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3661, allocations: 85.02 kB / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3661, allocations: 3.984 kB / 0.5553 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3662, allocations: 4 kB / 0.5553 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3662, allocations: 15.92 kB / 0.5553 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3662, allocations: 4 kB / 0.5553 GB, free: 6.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.219e-05/0.3663, allocations: 118.5 kB / 0.5554 GB, free: 6.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.3665, allocations: 19.94 kB / 0.5554 GB, free: 6.441 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 (8): * Single equations (assignments): 8 * 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.0004759/0.367, allocations: 299.6 kB / 0.5557 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.3671, allocations: 43.98 kB / 0.5557 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.61e-07/0.3671, allocations: 0 / 0.5557 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.3671, allocations: 23.94 kB / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3673, allocations: 31.69 kB / 0.5558 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.3676, allocations: 119.5 kB / 0.5559 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.3679, allocations: 0.7192 MB / 0.5566 GB, free: 5.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3679, allocations: 0 / 0.5566 GB, free: 5.203 MB / 394.7 MB Notification: Performance of Templates: time 0.002729/0.3706, allocations: 1.225 MB / 0.5578 GB, free: 3.984 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches