Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.67 kB / 16.98 MB, free: 6.398 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.001173/0.001173, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2182/0.2182, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 11.94 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 61.92 MB / 471.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002304/0.1521, allocations: 1.326 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.1531, allocations: 391.5 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.1532, allocations: 0 / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.1538, allocations: 435.2 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1542, allocations: 235.5 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1547, allocations: 125.8 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.155, allocations: 119.8 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1551, allocations: 8 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.1553, allocations: 107.7 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1556, allocations: 147.7 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1557, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1558, allocations: 27.98 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.156, allocations: 87.73 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.1561, allocations: 65.45 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.1565, allocations: 195.9 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1565, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1565, allocations: 4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1565, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001134/0.1577, allocations: 0.6105 MB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.1577, allocations: 8.562 kB / 475.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1578, allocations: 43.44 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.1583, allocations: 279.2 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1583, allocations: 4 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.1584, allocations: 4 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1586, allocations: 81.56 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1586, allocations: 3.984 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1587, allocations: 0 / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1587, allocations: 0 / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1588, allocations: 51.91 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.1597, allocations: 400.7 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.16, allocations: 62.58 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1601, allocations: 4 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.1601, allocations: 34.56 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1601, allocations: 0 / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00173/0.1618, allocations: 0.5271 MB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1619, allocations: 51.41 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009719/0.1629, allocations: 0.8613 MB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1629, allocations: 29.7 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1631, allocations: 212 kB / 477.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1631, allocations: 35.45 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1632, allocations: 8 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1633, allocations: 366.7 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1635, allocations: 51.91 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1636, allocations: 51.97 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1637, allocations: 56.25 kB / 478.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1638, allocations: 0 / 478.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003739/0.1641, allocations: 193 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1642, allocations: 4 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1642, allocations: 4 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1642, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1643, allocations: 31.98 kB / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1643, allocations: 0 / 478.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.1644, allocations: 15.92 kB / 478.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1645, allocations: 8 kB / 478.7 MB, free: 6.207 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 (11): * Single equations (assignments): 11 * 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.0002636/0.1647, allocations: 217.7 kB / 478.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1649, allocations: 43.44 kB / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.1654, allocations: 213.9 kB / 479.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1654, allocations: 4 kB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1654, allocations: 4 kB / 479.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1654, allocations: 4 kB / 479.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1665, allocations: 0.5858 MB / 479.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1665, allocations: 4 kB / 479.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1666, allocations: 31.92 kB / 479.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1666, allocations: 0 / 479.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1666, allocations: 0 / 479.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.1666, allocations: 8.062 kB / 479.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1667, allocations: 3.953 kB / 479.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.1672, allocations: 320 kB / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1673, allocations: 124.5 kB / 480.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1674, allocations: 4 kB / 480.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1675, allocations: 15.98 kB / 480.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.1675, allocations: 11.98 kB / 480.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1676, allocations: 4 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006844/0.1683, allocations: 0.6472 MB / 481 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1683, allocations: 0 / 481 MB, free: 3.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1686, allocations: 35.98 kB / 481 MB, free: 3.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001094/0.1697, allocations: 461.5 kB / 481.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.17, allocations: 127.8 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.17, allocations: 0 / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1702, allocations: 75.97 kB / 481.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1705, allocations: 21.95 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1718, allocations: 0.8783 MB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.1723, allocations: 0.8379 MB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.1724, allocations: 20.41 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1724, allocations: 11.44 kB / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 483.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Templates: time 0.00628/0.1787, allocations: 1.704 MB / 485.1 MB, free: 15.81 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches