Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [: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.0008578/0.0008579, allocations: 191.5 kB / 7.807 MB, free: 2.488 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.088/1.088, 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.0008148/0.0008149, allocations: 91.69 kB / 261.4 MB, free: 13.54 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.1574/0.1574, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.999e-06/4.999e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2389, allocations: 58.82 MB / 476.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.345, allocations: 85.57 MB / 0.5489 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001559/0.3452, allocations: 63.97 kB / 0.549 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008641/0.3538, allocations: 3.556 MB / 0.5525 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3538, 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.0002486/0.3541, allocations: 386.1 kB / 0.5529 GB, free: 9.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.129e-05/0.3541, allocations: 8.031 kB / 0.5529 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.3542, allocations: 7.906 kB / 0.5529 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3543, allocations: 205.6 kB / 0.5531 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-06/0.3543, allocations: 4 kB / 0.5531 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3544, allocations: 0 / 0.5531 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.887e-05/0.3544, allocations: 16 kB / 0.5531 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.172e-05/0.3545, allocations: 41.69 kB / 0.5531 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.3545, allocations: 0 / 0.5531 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.539e-06/0.3545, allocations: 0 / 0.5531 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3545, allocations: 0 / 0.5531 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.3547, allocations: 265.4 kB / 0.5534 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3548, allocations: 33.7 kB / 0.5534 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.3549, allocations: 12.86 kB / 0.5534 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3549, allocations: 4 kB / 0.5534 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.3549, allocations: 34.55 kB / 0.5535 GB, free: 8.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3549, allocations: 0 / 0.5535 GB, free: 8.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002755/0.3552, allocations: 101.3 kB / 0.5536 GB, free: 8.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.3552, allocations: 59.41 kB / 0.5536 GB, free: 8.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3554, allocations: 177.3 kB / 0.5538 GB, free: 8.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3554, allocations: 25.7 kB / 0.5538 GB, free: 8.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.3554, allocations: 92.12 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.3554, allocations: 15.75 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.3555, allocations: 3.938 kB / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.3555, allocations: 322.8 kB / 0.5542 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.3556, allocations: 8 kB / 0.5542 GB, free: 7.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.3556, allocations: 12.06 kB / 0.5542 GB, free: 7.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.3556, allocations: 16.12 kB / 0.5543 GB, free: 7.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.3556, allocations: 0 / 0.5543 GB, free: 7.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.657e-05/0.3557, allocations: 61.5 kB / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.3557, allocations: 6.812 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.3557, allocations: 0 / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.3558, allocations: 0 / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.3558, allocations: 19.92 kB / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.3558, allocations: 0 / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.3559, allocations: 12 kB / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3559, allocations: 3.984 kB / 0.5544 GB, free: 7.668 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 4.361e-05/0.3559, allocations: 106.5 kB / 0.5545 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.356, allocations: 11.81 kB / 0.5545 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.3561, allocations: 69.86 kB / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3561, allocations: 0 / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3561, allocations: 7.938 kB / 0.5545 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3561, allocations: 3.984 kB / 0.5545 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3564, allocations: 323 kB / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3564, allocations: 0 / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.3565, allocations: 15.98 kB / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3565, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.3565, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3565, allocations: 0 / 0.5549 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3565, allocations: 8 kB / 0.5549 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.3566, allocations: 163.5 kB / 0.555 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3567, allocations: 97 kB / 0.5551 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3567, allocations: 3.906 kB / 0.5551 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3568, allocations: 4 kB / 0.5551 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.3568, allocations: 11.98 kB / 0.5551 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3568, allocations: 0 / 0.5551 GB, free: 6.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.944e-05/0.3569, allocations: 152.1 kB / 0.5553 GB, free: 6.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.3571, allocations: 19.94 kB / 0.5553 GB, free: 6.598 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.0004717/0.3576, allocations: 301.9 kB / 0.5556 GB, free: 6.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.898e-05/0.3577, allocations: 27.94 kB / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3577, allocations: 4 kB / 0.5556 GB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.3577, allocations: 12 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.000162/0.3579, allocations: 19.12 kB / 0.5557 GB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.3582, allocations: 147.8 kB / 0.5558 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.3584, allocations: 0.7225 MB / 0.5565 GB, free: 5.352 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3584, allocations: 4 kB / 0.5565 GB, free: 5.348 MB / 394.7 MB Notification: Performance of Templates: time 0.002624/0.361, allocations: 1.175 MB / 0.5577 GB, free: 4.176 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches