Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001711/0.001711, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 97.03 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4367/0.4367, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 15.98 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1617, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002214/0.164, allocations: 1.313 MB / 491.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1654, allocations: 0.8987 MB / 492.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.1655, allocations: 3.938 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1657, allocations: 15.92 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1659, allocations: 35.84 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1663, allocations: 147.7 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1664, allocations: 55.84 kB / 492.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1666, allocations: 27.83 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1666, allocations: 19.92 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1668, allocations: 23.84 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1668, allocations: 0 / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.1669, allocations: 39.98 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.167, allocations: 15.92 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.167, allocations: 37.64 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1672, allocations: 71.83 kB / 492.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1672, allocations: 0 / 492.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1672, allocations: 0 / 492.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1672, allocations: 4 kB / 492.9 MB, free: 8.488 MB / 378.7 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.0005219/0.1677, allocations: 379.4 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1678, allocations: 12.02 kB / 493.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1678, allocations: 19.84 kB / 493.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1681, allocations: 186.9 kB / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1681, allocations: 0 / 493.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1681, allocations: 4 kB / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1683, allocations: 83.31 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1684, allocations: 4 kB / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1684, allocations: 4 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1684, allocations: 0 / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1685, allocations: 51.86 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.169, allocations: 300.9 kB / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1692, allocations: 58.59 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1693, allocations: 32.83 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1693, allocations: 0 / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1693, allocations: 30.56 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1693, allocations: 0 / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009505/0.1703, allocations: 269.2 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.1704, allocations: 77.11 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1705, allocations: 137.6 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1706, allocations: 25.7 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.1706, allocations: 100 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1707, allocations: 27.64 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1707, allocations: 0 / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1708, allocations: 314.8 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.171, allocations: 47.95 kB / 495.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1711, allocations: 65.62 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1713, allocations: 55.94 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1713, allocations: 0 / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003054/0.1716, allocations: 137.5 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1716, allocations: 11.95 kB / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1716, allocations: 0 / 495.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1716, allocations: 4 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1718, allocations: 19.98 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1718, allocations: 0 / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.1719, allocations: 23.98 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1719, allocations: 4 kB / 495.4 MB, free: 5.82 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.172, allocations: 121.8 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.172, allocations: 11.89 kB / 495.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1724, allocations: 154.2 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1724, allocations: 0 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1724, allocations: 0 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1724, allocations: 7.984 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.173, allocations: 422.4 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.173, allocations: 3.953 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.1731, allocations: 23.92 kB / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1732, allocations: 0 / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1732, allocations: 8 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1732, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1732, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1735, allocations: 235.3 kB / 496.3 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.1736, allocations: 92.97 kB / 496.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1736, allocations: 3.984 kB / 496.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.1737, allocations: 12 kB / 496.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1738, allocations: 7.984 kB / 496.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1738, allocations: 8 kB / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.1739, allocations: 107.2 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1739, allocations: 0 / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.1742, allocations: 20 kB / 496.6 MB, free: 4.5 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009816/0.1752, allocations: 449.4 kB / 497 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1755, allocations: 111.9 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1755, allocations: 0 / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1757, allocations: 59.91 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.176, allocations: 15.98 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.1765, allocations: 231 kB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1769, allocations: 0.6965 MB / 498.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.177, allocations: 15.42 kB / 498.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.177, allocations: 4 kB / 498.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of Templates: time 0.004451/0.1814, allocations: 1.789 MB / 499.9 MB, free: 1.133 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches