Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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 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 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 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 100.1 kB / 15.98 MB, free: 6.34 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.001172/0.001172, allocations: 198.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.275/0.275, allocations: 43.51 MB / 313.6 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 66.62 kB / 382.2 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 57.79 MB / 440 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.005042/0.1627, allocations: 1.665 MB / 441.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.1635, allocations: 339.5 kB / 442 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.1636, allocations: 4 kB / 442 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.164, allocations: 51.86 kB / 442.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1644, allocations: 47.83 kB / 442.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1648, allocations: 139.4 kB / 442.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.165, allocations: 75.77 kB / 442.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1652, allocations: 19.92 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.1653, allocations: 27.91 kB / 442.4 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1654, allocations: 39.84 kB / 442.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1654, allocations: 7.938 kB / 442.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.1655, allocations: 35.98 kB / 442.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.1656, allocations: 23.91 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1657, allocations: 27.81 kB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1659, allocations: 87.72 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.166, allocations: 0 / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.166, allocations: 0 / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.166, allocations: 0 / 442.6 MB, free: 4.781 MB / 318.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.0006946/0.1667, allocations: 391.1 kB / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1667, allocations: 11.89 kB / 443 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1668, allocations: 12.84 kB / 443 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.167, allocations: 200 kB / 443.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1671, allocations: 384 / 443.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1671, allocations: 8.375 kB / 443.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.1673, allocations: 69.77 kB / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1674, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1674, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1674, allocations: 0 / 443.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1675, allocations: 39.97 kB / 443.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.168, allocations: 304.8 kB / 443.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1682, allocations: 46.56 kB / 443.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.1683, allocations: 32.92 kB / 443.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1683, allocations: 0 / 443.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1684, allocations: 30.56 kB / 443.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1684, allocations: 4 kB / 443.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008808/0.1692, allocations: 237.4 kB / 443.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1693, allocations: 51.41 kB / 444 MB, free: 3.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1695, allocations: 165.8 kB / 444.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1695, allocations: 29.7 kB / 444.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1695, allocations: 104.1 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1696, allocations: 23.59 kB / 444.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1696, allocations: 21.72 kB / 444.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1697, allocations: 318.8 kB / 444.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1699, allocations: 43.97 kB / 444.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.17, allocations: 39.95 kB / 444.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1702, allocations: 88.8 kB / 444.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1702, allocations: 0 / 444.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002353/0.1704, allocations: 125.5 kB / 444.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1705, allocations: 8 kB / 444.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1705, allocations: 0 / 444.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1705, allocations: 0 / 444.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1706, allocations: 27.91 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1706, allocations: 3.938 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.1707, allocations: 7.906 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1707, allocations: 12 kB / 445 MB, free: 2.148 MB / 318.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 9.402e-05/0.1708, allocations: 129.8 kB / 445.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1709, allocations: 7.906 kB / 445.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.1712, allocations: 134.3 kB / 445.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1712, allocations: 0 / 445.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1712, allocations: 11.88 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1713, allocations: 0 / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.1717, allocations: 402.5 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1717, allocations: 0 / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.1718, allocations: 19.98 kB / 445.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1718, allocations: 3.938 kB / 445.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1718, allocations: 8 kB / 445.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1718, allocations: 4.453 kB / 445.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1718, allocations: 0 / 445.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1721, allocations: 219.3 kB / 445.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.1722, allocations: 88.94 kB / 446 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1722, allocations: 8 kB / 446 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.1723, allocations: 11.98 kB / 446 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.1723, allocations: 4 kB / 446 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.1723, allocations: 0 / 446 MB, free: 1.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.1724, allocations: 132.7 kB / 446.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 0 / 446.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1727, allocations: 27.98 kB / 446.2 MB, free: 0.8516 MB / 318.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.0009128/0.1736, allocations: 399.4 kB / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.1739, allocations: 103.9 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1739, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.174, allocations: 47.91 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1745, allocations: 20.48 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.1749, allocations: 258 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1754, allocations: 0.7041 MB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.1755, allocations: 19.98 kB / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.1756, allocations: 19.42 kB / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1756, allocations: 0 / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Templates: time 0.003884/0.1795, allocations: 1.213 MB / 448.9 MB, free: 14.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches