Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 102.4 kB / 15.98 MB, free: 6.352 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.001117/0.001117, allocations: 189.4 kB / 16.9 MB, free: 6.184 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.878/1.878, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.4366/0.4366, allocations: 43.49 MB / 313.6 MB, free: 8.242 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.0018/0.0018, allocations: 71.89 kB / 382.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 57.79 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003781/0.1579, allocations: 1.664 MB / 441.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006913/0.1586, allocations: 339.6 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.1587, allocations: 0 / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.159, allocations: 59.8 kB / 442.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1592, allocations: 47.89 kB / 442.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1596, allocations: 147.7 kB / 442.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1598, allocations: 75.75 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1599, allocations: 24.27 kB / 442.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.16, allocations: 31.91 kB / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.1601, allocations: 43.83 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1601, allocations: 4 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.1602, allocations: 31.98 kB / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1603, allocations: 27.86 kB / 442.5 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1604, allocations: 39.72 kB / 442.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1605, allocations: 87.72 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1606, allocations: 0 / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1606, allocations: 3.938 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1606, allocations: 4 kB / 442.6 MB, free: 11.86 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.0006175/0.1612, allocations: 399.1 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1613, allocations: 11.89 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1613, allocations: 12.75 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1615, allocations: 196.1 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1616, allocations: 384 / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1616, allocations: 12.36 kB / 443.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1618, allocations: 73.72 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1618, allocations: 3.906 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1618, allocations: 4 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1618, allocations: 0 / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.162, allocations: 35.97 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.1625, allocations: 308.8 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1627, allocations: 46.48 kB / 443.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.1627, allocations: 28.94 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1628, allocations: 4 kB / 443.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1628, allocations: 34.56 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1628, allocations: 0 / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008072/0.1636, allocations: 233.1 kB / 444 MB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1637, allocations: 55.41 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1639, allocations: 186.2 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1639, allocations: 25.7 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.164, allocations: 96.14 kB / 444.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.164, allocations: 27.64 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1641, allocations: 17.72 kB / 444.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1643, allocations: 330.7 kB / 444.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1644, allocations: 35.97 kB / 444.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1645, allocations: 43.97 kB / 444.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.1647, allocations: 92.66 kB / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1647, allocations: 0 / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003168/0.165, allocations: 129.4 kB / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1651, allocations: 8 kB / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1651, allocations: 0 / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1651, allocations: 0 / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1652, allocations: 19.98 kB / 445 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1653, allocations: 0 / 445 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.1653, allocations: 15.92 kB / 445.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.1653, allocations: 0 / 445.1 MB, free: 9.195 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.0001096/0.1654, allocations: 141.8 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1655, allocations: 7.906 kB / 445.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1658, allocations: 134.3 kB / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1658, allocations: 0 / 445.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1658, allocations: 4 kB / 445.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1659, allocations: 3.938 kB / 445.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.1664, allocations: 410.4 kB / 445.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1664, allocations: 0 / 445.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.1665, allocations: 19.98 kB / 445.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1665, allocations: 3.984 kB / 445.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1666, allocations: 3.938 kB / 445.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1666, allocations: 0 / 445.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1666, allocations: 0 / 445.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1669, allocations: 235.7 kB / 446 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1669, allocations: 81.02 kB / 446.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.167, allocations: 3.938 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.1671, allocations: 15.98 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1671, allocations: 4.281 kB / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1671, allocations: 4 kB / 446.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1673, allocations: 144 kB / 446.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1673, allocations: 0 / 446.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1675, allocations: 16 kB / 446.3 MB, free: 7.887 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.0009634/0.1685, allocations: 409.5 kB / 446.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.1689, allocations: 103.8 kB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1689, allocations: 0 / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.169, allocations: 47.97 kB / 446.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1694, allocations: 16.59 kB / 446.8 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.1699, allocations: 278.3 kB / 447.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1703, allocations: 0.708 MB / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1704, allocations: 27.91 kB / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.1705, allocations: 15.44 kB / 447.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1705, allocations: 0 / 447.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of Templates: time 0.003933/0.1744, allocations: 1.214 MB / 449.1 MB, free: 5.059 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches