Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 103.9 kB / 16.27 MB, free: 5.863 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.001349/0.001348, allocations: 192.7 kB / 17.2 MB, free: 5.508 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.817/1.817, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2579/0.2579, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.002504/0.002504, allocations: 75.25 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1681, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002842/0.171, allocations: 1.701 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1728, allocations: 1.398 MB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.1729, allocations: 0 / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1732, allocations: 43.77 kB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1734, allocations: 59.7 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1736, allocations: 91.75 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1737, allocations: 99.69 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.1738, allocations: 16.5 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.1739, allocations: 39.8 kB / 444 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.174, allocations: 43.83 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.174, allocations: 4 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.1741, allocations: 59.92 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.1742, allocations: 27.91 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.1742, allocations: 31.8 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1744, allocations: 131.6 kB / 444.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1744, allocations: 0 / 444.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1744, allocations: 0 / 444.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1744, allocations: 0 / 444.3 MB, free: 3.16 MB / 318.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.0004116/0.1749, allocations: 419 kB / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.1749, allocations: 11.89 kB / 444.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1749, allocations: 12.84 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1751, allocations: 212.6 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1751, allocations: 11.92 kB / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1752, allocations: 0 / 444.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1753, allocations: 75.39 kB / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1753, allocations: 0 / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1753, allocations: 0 / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1754, allocations: 0 / 445 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.1754, allocations: 31.91 kB / 445 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.1757, allocations: 304.7 kB / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1759, allocations: 70.62 kB / 445.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.176, allocations: 20.84 kB / 445.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.176, allocations: 4 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1762, allocations: 83.31 kB / 445.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1762, allocations: 0 / 445.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004868/0.1767, allocations: 185.3 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1767, allocations: 85.05 kB / 445.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1768, allocations: 151 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1769, allocations: 33.7 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.1769, allocations: 100.1 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1769, allocations: 35.56 kB / 446.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.177, allocations: 33.7 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.177, allocations: 322.8 kB / 446.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1771, allocations: 20 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.1772, allocations: 46.55 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1773, allocations: 73.69 kB / 446.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1773, allocations: 0 / 446.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001644/0.1774, allocations: 113.5 kB / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1775, allocations: 4 kB / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1775, allocations: 3.984 kB / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1775, allocations: 7.938 kB / 446.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1776, allocations: 19.92 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1776, allocations: 4.188 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1776, allocations: 32 / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1777, allocations: 11.94 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.541e-05/0.1777, allocations: 129.8 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1778, allocations: 7.906 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.1778, allocations: 16.66 kB / 446.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1778, allocations: 0 / 446.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1778, allocations: 4 kB / 446.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1778, allocations: 3.984 kB / 446.9 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1782, allocations: 415.2 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1783, allocations: 0 / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.1783, allocations: 16 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1783, allocations: 0 / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1783, allocations: 7.984 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1783, allocations: 4 kB / 447.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1784, allocations: 3.938 kB / 447.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1786, allocations: 212.3 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1787, allocations: 88.89 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1788, allocations: 8 kB / 447.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.1788, allocations: 3.984 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1789, allocations: 4 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1789, allocations: 4 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.179, allocations: 127.9 kB / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.179, allocations: 0 / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1793, allocations: 39.98 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001173/0.1805, allocations: 0.4913 MB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1807, allocations: 71.86 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1808, allocations: 3.938 kB / 448.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1809, allocations: 35.92 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1813, allocations: 39.39 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1818, allocations: 207.1 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1822, allocations: 0.7001 MB / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1824, allocations: 28.78 kB / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.1824, allocations: 19.44 kB / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1824, allocations: 0 / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of Templates: time 0.005671/0.1881, allocations: 2.046 MB / 451.4 MB, free: 11.67 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches