Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001488, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001541/0.001541, allocations: 187 kB / 19.34 MB, free: 3.641 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.452/1.452, allocations: 222.9 MB / 243 MB, free: 15.07 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.27/0.27, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 69.98 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.152, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003582/0.1557, allocations: 1.617 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1574, allocations: 1.062 MB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.1575, allocations: 4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1577, allocations: 19.8 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.158, allocations: 43.78 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1584, allocations: 170.1 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1586, allocations: 75.75 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1587, allocations: 16 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.1588, allocations: 23.86 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.159, allocations: 35.89 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.159, allocations: 4 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1591, allocations: 51.86 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.1592, allocations: 31.91 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.1593, allocations: 23.81 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1595, allocations: 91.77 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1595, allocations: 0 / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1595, allocations: 0 / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1595, allocations: 0 / 474 MB, free: 10.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005538/0.1601, allocations: 391.2 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1601, allocations: 8.031 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1602, allocations: 12.78 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1604, allocations: 192.2 kB / 474.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1604, allocations: 4.375 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1605, allocations: 4.375 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1607, allocations: 87.47 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1607, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1607, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1608, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1609, allocations: 47.91 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1614, allocations: 308.7 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1615, allocations: 42.56 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.1616, allocations: 28.92 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1617, allocations: 8 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1617, allocations: 30.56 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1617, allocations: 3.938 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007917/0.1625, allocations: 221.3 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1626, allocations: 85.05 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1627, allocations: 137.8 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1628, allocations: 25.7 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1628, allocations: 92.14 kB / 475.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1629, allocations: 27.64 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1629, allocations: 17.72 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1631, allocations: 322.8 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1632, allocations: 39.97 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1633, allocations: 49.69 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1635, allocations: 88.78 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1635, allocations: 4 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002736/0.1638, allocations: 125.5 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1638, allocations: 4 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1639, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1639, allocations: 4 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.164, allocations: 15.98 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.164, allocations: 0 / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.1641, allocations: 19.92 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1641, allocations: 7.938 kB / 476.4 MB, free: 7.742 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 (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.0001005/0.1642, allocations: 125.8 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1642, allocations: 7.906 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.1646, allocations: 138.2 kB / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1646, allocations: 0 / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1646, allocations: 0 / 476.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1646, allocations: 7.938 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.1651, allocations: 402.6 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1651, allocations: 4 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.1652, allocations: 19.92 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1652, allocations: 0 / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1653, allocations: 7.938 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1653, allocations: 4 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1653, allocations: 0 / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1656, allocations: 215.4 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.1657, allocations: 81.02 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1657, allocations: 7.922 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1658, allocations: 16 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1658, allocations: 7.984 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1658, allocations: 4 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.1659, allocations: 103.3 kB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 0 / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1662, allocations: 31.98 kB / 477.5 MB, free: 6.477 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 (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.001073/0.1673, allocations: 454.9 kB / 478 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1676, allocations: 83.94 kB / 478.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1676, allocations: 0 / 478.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1677, allocations: 59.89 kB / 478.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1681, allocations: 19.08 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.1686, allocations: 198.3 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1689, allocations: 0.7041 MB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.389e-05/0.169, allocations: 36.17 kB / 479.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.169, allocations: 15.42 kB / 479.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1691, allocations: 0 / 479.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004394/0.1735, allocations: 1.529 MB / 480.6 MB, free: 3.512 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches