Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007539/0.007539, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.001936/0.001937, allocations: 190.8 kB / 16.79 MB, free: 6.238 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.792/1.792, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3891/0.3891, allocations: 43.5 MB / 313.5 MB, free: 8.312 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.001648/0.001648, allocations: 66.56 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 57.79 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003244/0.1577, allocations: 1.676 MB / 441.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.1584, allocations: 315.6 kB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.1585, allocations: 0 / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1587, allocations: 51.86 kB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1589, allocations: 51.81 kB / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1592, allocations: 103.9 kB / 442 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1593, allocations: 67.77 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.1594, allocations: 16.17 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1595, allocations: 27.91 kB / 442.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.1596, allocations: 39.84 kB / 442.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1596, allocations: 4 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.1597, allocations: 39.91 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.1598, allocations: 19.92 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.1598, allocations: 31.73 kB / 442.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.16, allocations: 87.98 kB / 442.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.16, allocations: 0 / 442.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.16, allocations: 0 / 442.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.16, allocations: 0 / 442.3 MB, free: 12.06 MB / 382.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.0005162/0.1605, allocations: 403.1 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1606, allocations: 12.03 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1606, allocations: 8.844 kB / 442.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1608, allocations: 196.6 kB / 442.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.1608, allocations: 4.125 kB / 442.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.1608, allocations: 4 kB / 442.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.161, allocations: 61.66 kB / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.161, allocations: 0 / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1611, allocations: 0 / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1611, allocations: 4 kB / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1612, allocations: 35.97 kB / 443 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1616, allocations: 296.7 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1617, allocations: 46.5 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.1618, allocations: 24.94 kB / 443.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.1618, allocations: 0 / 443.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1619, allocations: 38.56 kB / 443.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1619, allocations: 0 / 443.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007966/0.1627, allocations: 205.3 kB / 443.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1628, allocations: 59.34 kB / 443.7 MB, free: 10.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.163, allocations: 190.3 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.163, allocations: 25.7 kB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1631, allocations: 96.14 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1631, allocations: 23.64 kB / 444 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1631, allocations: 17.72 kB / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1633, allocations: 334.8 kB / 444.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1634, allocations: 27.97 kB / 444.4 MB, free: 9.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.1635, allocations: 36.03 kB / 444.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.1637, allocations: 76.81 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1637, allocations: 0 / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002654/0.164, allocations: 105.5 kB / 444.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.164, allocations: 4 kB / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.164, allocations: 0 / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1641, allocations: 3.984 kB / 444.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1642, allocations: 27.86 kB / 444.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1642, allocations: 0 / 444.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.1643, allocations: 23.92 kB / 444.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1643, allocations: 0 / 444.7 MB, free: 9.492 MB / 382.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.0001006/0.1644, allocations: 129.8 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1644, allocations: 11.81 kB / 444.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1648, allocations: 118.3 kB / 444.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1648, allocations: 7.938 kB / 444.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1648, allocations: 4 kB / 444.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1648, allocations: 0 / 444.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.1653, allocations: 390.5 kB / 445.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1653, allocations: 0 / 445.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.1654, allocations: 23.92 kB / 445.3 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1654, allocations: 4 kB / 445.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1654, allocations: 4 kB / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1655, allocations: 0 / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1655, allocations: 480 / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.1658, allocations: 219.3 kB / 445.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1659, allocations: 92.95 kB / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1659, allocations: 0 / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.166, allocations: 11.98 kB / 445.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1661, allocations: 3.938 kB / 445.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1661, allocations: 4 kB / 445.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1662, allocations: 143.2 kB / 445.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 445.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1665, allocations: 16 kB / 445.8 MB, free: 8.23 MB / 382.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.00103/0.1675, allocations: 406.3 kB / 446.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1678, allocations: 75.88 kB / 446.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1678, allocations: 0 / 446.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1679, allocations: 43.97 kB / 446.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1683, allocations: 23.52 kB / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1688, allocations: 264 kB / 446.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1691, allocations: 0.7082 MB / 447.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.1691, allocations: 4 kB / 447.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1692, allocations: 11.44 kB / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1692, allocations: 0 / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004256/0.1734, allocations: 1.168 MB / 448.5 MB, free: 5.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches