Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001287/0.001288, allocations: 194 kB / 18.12 MB, free: 5.363 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.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2187/0.2187, allocations: 44.18 MB / 336.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.95 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1437, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004146/0.1478, allocations: 2.026 MB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1497, allocations: 0.9435 MB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1499, allocations: 4 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1504, allocations: 247.4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.1509, allocations: 179.5 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1526, allocations: 0.6155 MB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.1532, allocations: 291.3 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1534, allocations: 84.47 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1536, allocations: 115.5 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1538, allocations: 199.3 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1539, allocations: 8 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.1541, allocations: 91.91 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1542, allocations: 87.73 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1544, allocations: 123 kB / 473.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1547, allocations: 303 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1548, allocations: 0 / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1548, allocations: 0 / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1548, allocations: 0 / 473.8 MB, free: 9.555 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009325/0.1557, allocations: 0.6302 MB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1558, allocations: 8.031 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.1559, allocations: 36.47 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.1565, allocations: 314.2 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1565, allocations: 8.375 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.1565, allocations: 12.38 kB / 474.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1568, allocations: 125.7 kB / 474.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1569, allocations: 3.938 kB / 474.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1569, allocations: 12 kB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1569, allocations: 0 / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.1572, allocations: 91.88 kB / 475 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.1581, allocations: 0.4962 MB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1583, allocations: 114.5 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.1584, allocations: 44.83 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1585, allocations: 0 / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1585, allocations: 30.56 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.1585, allocations: 4 kB / 475.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001097/0.1596, allocations: 432.6 kB / 476.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1597, allocations: 59.34 kB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.1602, allocations: 0.5249 MB / 476.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1603, allocations: 29.7 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1604, allocations: 196.3 kB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.1605, allocations: 63.09 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1605, allocations: 33.7 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.1608, allocations: 354.8 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1609, allocations: 71.95 kB / 477.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1611, allocations: 66.77 kB / 477.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1613, allocations: 148.8 kB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1613, allocations: 3.938 kB / 477.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003727/0.1617, allocations: 233 kB / 477.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1617, allocations: 9.859 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1618, allocations: 0 / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1618, allocations: 0 / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1619, allocations: 31.98 kB / 477.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1619, allocations: 0 / 477.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.162, allocations: 11.98 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.162, allocations: 4 kB / 477.9 MB, free: 5.176 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 (17): * Single equations (assignments): 17 * 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.0001635/0.1622, allocations: 177.7 kB / 478.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.1623, allocations: 51.52 kB / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.1628, allocations: 265.3 kB / 478.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1629, allocations: 4 kB / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1629, allocations: 0 / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1629, allocations: 0 / 478.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.1638, allocations: 0.6717 MB / 479.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1638, allocations: 0 / 479.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1639, allocations: 43.84 kB / 479.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1639, allocations: 0 / 479.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1639, allocations: 12 kB / 479.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.164, allocations: 0 / 479.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.164, allocations: 7.875 kB / 479.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1644, allocations: 322.9 kB / 479.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1645, allocations: 104.7 kB / 479.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1645, allocations: 0 / 479.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.1646, allocations: 11.98 kB / 479.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1647, allocations: 15.92 kB / 479.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1647, allocations: 7.938 kB / 479.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003676/0.1651, allocations: 403.1 kB / 480 MB, free: 3 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1651, allocations: 0 / 480 MB, free: 3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.1654, allocations: 40 kB / 480.1 MB, free: 2.961 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 (17): * Single equations (assignments): 17 * 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.001573/0.167, allocations: 0.6978 MB / 480.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1674, allocations: 163.8 kB / 480.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1674, allocations: 4 kB / 480.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1676, allocations: 94.23 kB / 481 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.1682, allocations: 67.33 kB / 481.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1693, allocations: 0.7895 MB / 481.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1697, allocations: 0.8224 MB / 482.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.1699, allocations: 49.91 kB / 482.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.17, allocations: 35.36 kB / 482.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.17, allocations: 0 / 482.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Templates: time 0.007796/0.1778, allocations: 3.158 MB / 485.9 MB, free: 13.37 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches