Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001311/0.001311, 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.444/1.444, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.3086/0.3086, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 64.56 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1663, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003483/0.1699, allocations: 1.609 MB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.1708, allocations: 399.3 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.1708, allocations: 0 / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1711, allocations: 23.91 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1713, allocations: 35.91 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1716, allocations: 75.84 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1717, allocations: 55.78 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1719, allocations: 15.98 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.1719, allocations: 19.92 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.172, allocations: 23.84 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.1721, allocations: 4 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.1721, allocations: 20 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.1722, allocations: 15.92 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1723, allocations: 23.81 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1725, allocations: 79.77 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1725, allocations: 4 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1725, allocations: 0 / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1725, allocations: 3.938 kB / 470.9 MB, free: 12.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005786/0.1731, allocations: 379.5 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1732, allocations: 12.02 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1732, allocations: 8.844 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1735, allocations: 188.1 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1735, allocations: 384 / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1735, allocations: 4.375 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1737, allocations: 57.8 kB / 471.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1737, allocations: 0 / 471.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1737, allocations: 4 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1737, allocations: 4 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.1738, allocations: 23.92 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1742, allocations: 276.8 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1744, allocations: 42.56 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.1745, allocations: 16.95 kB / 471.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1745, allocations: 7.922 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1745, allocations: 30.56 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1745, allocations: 0 / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006017/0.1752, allocations: 145.3 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1752, allocations: 51.41 kB / 472.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1754, allocations: 164.7 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1754, allocations: 29.7 kB / 472.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.1755, allocations: 92.14 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.1755, allocations: 23.64 kB / 472.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.1756, allocations: 17.72 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1757, allocations: 326.8 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.1758, allocations: 19.98 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.1759, allocations: 19.98 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.176, allocations: 36.84 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.176, allocations: 3.984 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001822/0.1762, allocations: 85.52 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1762, allocations: 14.44 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1762, allocations: 0 / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1763, allocations: 4 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.1763, allocations: 11.98 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1763, allocations: 0 / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.1764, allocations: 4 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1764, allocations: 0 / 473 MB, free: 10.15 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 (5): * Single equations (assignments): 5 * 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 8.735e-05/0.1765, allocations: 130.2 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1765, allocations: 11.91 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.1768, allocations: 98.2 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1768, allocations: 0 / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1768, allocations: 0 / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1768, allocations: 4 kB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.1772, allocations: 338.5 kB / 473.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1772, allocations: 8 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.1773, allocations: 11.98 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1773, allocations: 288 / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1773, allocations: 0 / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1773, allocations: 7.875 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1773, allocations: 0 / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.1775, allocations: 179.4 kB / 473.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.1776, allocations: 93 kB / 473.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1776, allocations: 0 / 473.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.1777, allocations: 7.938 kB / 473.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1777, allocations: 7.984 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1778, allocations: 0 / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1779, allocations: 129.5 kB / 474 MB, free: 9.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 474 MB, free: 9.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1782, allocations: 16 kB / 474 MB, free: 9.023 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 (5): * Single equations (assignments): 5 * 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.001038/0.1792, allocations: 406.4 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1794, allocations: 47.91 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1794, allocations: 0 / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.1795, allocations: 23.98 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1799, allocations: 19.64 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1803, allocations: 208.2 kB / 474.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1807, allocations: 0.6965 MB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.1807, allocations: 4 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1807, allocations: 19.42 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1808, allocations: 0 / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003812/0.1846, allocations: 1.042 MB / 476.4 MB, free: 6.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches