Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 95.06 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 186.4 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000528/0.000528, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 61.91 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001883/0.1477, allocations: 1.306 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.1485, allocations: 391.5 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.1486, allocations: 0 / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.1492, allocations: 439.2 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1495, allocations: 243.5 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1499, allocations: 146.8 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1502, allocations: 123.7 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1503, allocations: 12.19 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1504, allocations: 103.8 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1506, allocations: 143.7 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1507, allocations: 8 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.1507, allocations: 16 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.1508, allocations: 83.69 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1509, allocations: 65.52 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1512, allocations: 187.9 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1512, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1512, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1512, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 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.0007693/0.152, allocations: 0.5949 MB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.152, allocations: 16.56 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.1521, allocations: 39.44 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1525, allocations: 279.3 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.1525, allocations: 4 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1525, allocations: 4 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1527, allocations: 61.62 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1527, allocations: 0 / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1527, allocations: 0 / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1527, allocations: 0 / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1528, allocations: 39.97 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.1533, allocations: 400.6 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1536, allocations: 50.56 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1536, allocations: 3.984 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1536, allocations: 30.56 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1536, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000637/0.1543, allocations: 259.9 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1543, allocations: 51.41 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.1552, allocations: 0.873 MB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1553, allocations: 25.7 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1555, allocations: 220.1 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1555, allocations: 19.75 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1555, allocations: 3.938 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1557, allocations: 370.7 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.1558, allocations: 23.98 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.1559, allocations: 23.98 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.1559, allocations: 31.92 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1559, allocations: 0 / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002282/0.1562, allocations: 129.1 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1562, allocations: 6.188 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1562, allocations: 0 / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1562, allocations: 4 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.1563, allocations: 15.98 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1563, allocations: 0 / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.1564, allocations: 8 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1564, allocations: 4 kB / 478.2 MB, free: 6.711 MB / 350.1 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 () * Number of clocked 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 0.0001793/0.1566, allocations: 217.7 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1566, allocations: 39.53 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1569, allocations: 153.1 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.157, allocations: 0 / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.157, allocations: 0 / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.157, allocations: 4 kB / 478.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.1575, allocations: 486.7 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1575, allocations: 4 kB / 479.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.1576, allocations: 15.98 kB / 479.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1576, allocations: 0 / 479.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1576, allocations: 4 kB / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1576, allocations: 0 / 479.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1576, allocations: 4 kB / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.1579, allocations: 230.8 kB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.158, allocations: 108.6 kB / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.158, allocations: 0 / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.1581, allocations: 15.98 kB / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1582, allocations: 0 / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1582, allocations: 4 kB / 479.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006208/0.1588, allocations: 0.655 MB / 480.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1588, allocations: 0 / 480.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1591, allocations: 23.98 kB / 480.2 MB, free: 4.664 MB / 350.1 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 () * Number of clocked 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.0008697/0.16, allocations: 404.6 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1602, allocations: 63.95 kB / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1602, allocations: 0 / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.1603, allocations: 31.92 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1606, allocations: 30.25 kB / 480.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1617, allocations: 0.8295 MB / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1621, allocations: 0.8301 MB / 482.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.1622, allocations: 19.92 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1622, allocations: 23.42 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1622, allocations: 0 / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.00434/0.1666, allocations: 1.385 MB / 483.8 MB, free: 1.16 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches