Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001068/0.001068, allocations: 191 kB / 19.34 MB, free: 3.789 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.516/1.516, allocations: 222.9 MB / 243 MB, free: 15.16 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.2688/0.2688, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.47 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003389/0.1446, allocations: 1.618 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.1455, allocations: 451.1 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.1456, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1461, allocations: 459.1 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1465, allocations: 255.4 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.147, allocations: 175.2 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1473, allocations: 175.6 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1474, allocations: 15.98 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1475, allocations: 111.8 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1477, allocations: 215.6 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1478, allocations: 4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.1479, allocations: 27.98 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.148, allocations: 87.62 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.1481, allocations: 103 kB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1484, allocations: 263 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1484, allocations: 0 / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1484, allocations: 0 / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1484, allocations: 4 kB / 474.6 MB, free: 9.734 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.0006827/0.1491, allocations: 0.6297 MB / 475.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1491, allocations: 8.031 kB / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.1492, allocations: 48.38 kB / 475.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1495, allocations: 300.1 kB / 475.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1495, allocations: 8.375 kB / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1495, allocations: 384 / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1497, allocations: 65.8 kB / 475.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1497, allocations: 4 kB / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1497, allocations: 0 / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1497, allocations: 0 / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1498, allocations: 39.97 kB / 475.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.1503, allocations: 404.5 kB / 476.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1505, allocations: 50.56 kB / 476.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.1505, allocations: 24.94 kB / 476.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1506, allocations: 0 / 476.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1506, allocations: 38.55 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1506, allocations: 0 / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007522/0.1514, allocations: 303.8 kB / 476.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1514, allocations: 51.41 kB / 476.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.1522, allocations: 0.8535 MB / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1522, allocations: 25.7 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1523, allocations: 212 kB / 477.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1524, allocations: 31.64 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1524, allocations: 17.72 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1526, allocations: 366.7 kB / 478.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1527, allocations: 39.97 kB / 478.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1528, allocations: 35.91 kB / 478.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.153, allocations: 96.86 kB / 478.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.153, allocations: 3.938 kB / 478.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.1533, allocations: 153.1 kB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1534, allocations: 4 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1534, allocations: 0 / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1534, allocations: 0 / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1535, allocations: 23.98 kB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1535, allocations: 3.938 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.1536, allocations: 19.92 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1536, allocations: 0 / 478.4 MB, free: 5.688 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1538, allocations: 213.8 kB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.1539, allocations: 43.44 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.1542, allocations: 181.7 kB / 478.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1542, allocations: 4 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1542, allocations: 0 / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1542, allocations: 3.938 kB / 478.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.1549, allocations: 0.5023 MB / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1549, allocations: 0 / 479.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.155, allocations: 23.98 kB / 479.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.155, allocations: 0 / 479.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.155, allocations: 3.938 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.155, allocations: 0 / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.155, allocations: 4.281 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1554, allocations: 258.9 kB / 479.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1554, allocations: 108.6 kB / 479.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1555, allocations: 7.938 kB / 479.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.1556, allocations: 11.92 kB / 479.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1556, allocations: 11.98 kB / 479.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1556, allocations: 0 / 479.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.1562, allocations: 0.6472 MB / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1562, allocations: 0 / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1565, allocations: 20 kB / 480.5 MB, free: 3.551 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009435/0.1574, allocations: 409.7 kB / 480.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1577, allocations: 87.88 kB / 480.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1577, allocations: 0 / 480.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1578, allocations: 47.95 kB / 481 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1582, allocations: 29.95 kB / 481 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1593, allocations: 0.8034 MB / 481.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1597, allocations: 0.8299 MB / 482.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.1598, allocations: 32.16 kB / 482.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1598, allocations: 15.44 kB / 482.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1598, allocations: 4 kB / 482.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Templates: time 0.004847/0.1647, allocations: 1.592 MB / 484.3 MB, free: 15.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches