Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 109.8 kB / 17.21 MB, free: 6.289 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.001259/0.001259, allocations: 194 kB / 18.13 MB, free: 5.375 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.51/1.51, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2352/0.2352, allocations: 44.17 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 407.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.148, allocations: 60.82 MB / 468.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003211/0.1513, allocations: 1.684 MB / 470.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.153, allocations: 1.047 MB / 471.3 MB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1531, allocations: 0 / 471.3 MB, free: 260 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1534, allocations: 23.84 kB / 471.3 MB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1536, allocations: 31.92 kB / 471.3 MB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1541, allocations: 163.6 kB / 471.5 MB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1542, allocations: 59.78 kB / 471.5 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1544, allocations: 20 kB / 471.5 MB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.1545, allocations: 19.92 kB / 471.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1546, allocations: 35.83 kB / 471.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1546, allocations: 3.938 kB / 471.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1548, allocations: 47.98 kB / 471.6 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.1549, allocations: 23.91 kB / 471.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.1549, allocations: 15.88 kB / 471.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1551, allocations: 104 kB / 471.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1552, allocations: 0 / 471.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1552, allocations: 0 / 471.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1552, allocations: 3.938 kB / 471.8 MB, free: 15.71 MB / 398.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.0005982/0.1558, allocations: 391.2 kB / 472.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1558, allocations: 12.03 kB / 472.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.1559, allocations: 8.844 kB / 472.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1561, allocations: 184.2 kB / 472.4 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1561, allocations: 384 / 472.4 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1562, allocations: 12.38 kB / 472.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.1564, allocations: 75.5 kB / 472.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1564, allocations: 4 kB / 472.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1564, allocations: 3.938 kB / 472.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1565, allocations: 0 / 472.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1566, allocations: 39.97 kB / 472.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.1571, allocations: 308.6 kB / 472.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1572, allocations: 46.55 kB / 472.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.323e-05/0.1573, allocations: 28.94 kB / 472.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1574, allocations: 0 / 472.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1574, allocations: 38.56 kB / 472.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1574, allocations: 0 / 472.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008032/0.1582, allocations: 217.2 kB / 473.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1583, allocations: 85.05 kB / 473.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1585, allocations: 133.8 kB / 473.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1585, allocations: 25.7 kB / 473.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1586, allocations: 99.98 kB / 473.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1586, allocations: 19.64 kB / 473.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.1587, allocations: 21.72 kB / 473.5 MB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1588, allocations: 322.8 kB / 473.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.159, allocations: 43.97 kB / 473.9 MB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1592, allocations: 53.67 kB / 473.9 MB, free: 13.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.1595, allocations: 93.08 kB / 474 MB, free: 13.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1595, allocations: 0 / 474 MB, free: 13.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002953/0.1598, allocations: 125.5 kB / 474.1 MB, free: 13.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1599, allocations: 4 kB / 474.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1599, allocations: 0 / 474.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1599, allocations: 0 / 474.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.16, allocations: 27.97 kB / 474.2 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.16, allocations: 0 / 474.2 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1601, allocations: 11.94 kB / 474.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1601, allocations: 7.984 kB / 474.2 MB, free: 13.08 MB / 398.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.000101/0.1602, allocations: 122.4 kB / 474.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1603, allocations: 7.906 kB / 474.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.1607, allocations: 133.9 kB / 474.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1607, allocations: 4.281 kB / 474.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1607, allocations: 0 / 474.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1607, allocations: 7.938 kB / 474.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.1612, allocations: 398.5 kB / 474.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1613, allocations: 3.984 kB / 474.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.1614, allocations: 23.92 kB / 474.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1614, allocations: 0 / 474.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1614, allocations: 3.938 kB / 474.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1614, allocations: 7.984 kB / 474.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1614, allocations: 4 kB / 474.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1617, allocations: 215.3 kB / 475.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1618, allocations: 89 kB / 475.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1618, allocations: 3.938 kB / 475.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.1619, allocations: 15.98 kB / 475.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.162, allocations: 8 kB / 475.2 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.162, allocations: 0 / 475.2 MB, free: 11.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.127e-05/0.1621, allocations: 114.6 kB / 475.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1621, allocations: 0 / 475.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1624, allocations: 24 kB / 475.3 MB, free: 11.81 MB / 398.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.001087/0.1634, allocations: 440.8 kB / 475.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1638, allocations: 91.91 kB / 475.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1638, allocations: 0 / 475.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1639, allocations: 51.91 kB / 475.9 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.1644, allocations: 18.64 kB / 475.9 MB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.165, allocations: 224.1 kB / 476.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1654, allocations: 0.6965 MB / 476.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1655, allocations: 24.23 kB / 476.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.1656, allocations: 15.44 kB / 476.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1656, allocations: 0 / 476.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of Templates: time 0.004863/0.1705, allocations: 1.466 MB / 478.4 MB, free: 8.918 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches