Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009828, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 169.5 kB / 16.57 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4938/0.4938, allocations: 43.57 MB / 314.6 MB, free: 8.988 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.0005499/0.00055, allocations: 16 kB / 383.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1675, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002639/0.1702, allocations: 1.465 MB / 444.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1727, allocations: 1.387 MB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1728, allocations: 7.938 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.1732, allocations: 43.81 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1735, allocations: 67.67 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1738, allocations: 123.8 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1741, allocations: 163.4 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.1742, allocations: 13.55 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1743, allocations: 71.62 kB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1745, allocations: 67.69 kB / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1745, allocations: 4 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1747, allocations: 47.98 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.1748, allocations: 27.89 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1748, allocations: 53.52 kB / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.175, allocations: 120 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1751, allocations: 4 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1751, allocations: 0 / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1751, allocations: 0 / 446.5 MB, free: 9.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006967/0.1758, allocations: 450.6 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.1759, allocations: 8.031 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.1759, allocations: 19.8 kB / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1763, allocations: 234.7 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1763, allocations: 4 kB / 447.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1763, allocations: 0 / 447.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.1766, allocations: 105.1 kB / 447.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1766, allocations: 0 / 447.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1766, allocations: 0 / 447.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1767, allocations: 3.953 kB / 447.3 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1768, allocations: 31.92 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.1771, allocations: 218.5 kB / 447.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1774, allocations: 109.2 kB / 447.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.1775, allocations: 37.7 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.1775, allocations: 3.984 kB / 447.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.1779, allocations: 112.9 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.1779, allocations: 0 / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005089/0.1785, allocations: 165.4 kB / 447.9 MB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1786, allocations: 140.4 kB / 448.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1789, allocations: 211.8 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1789, allocations: 33.64 kB / 448.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.179, allocations: 116.1 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1791, allocations: 23.66 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1791, allocations: 0 / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1793, allocations: 330.8 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1794, allocations: 31.92 kB / 448.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1795, allocations: 73.14 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.1796, allocations: 31.98 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1796, allocations: 0 / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002628/0.1799, allocations: 141.3 kB / 449.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1799, allocations: 4 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1799, allocations: 4 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1799, allocations: 96 / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1801, allocations: 20 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.1801, allocations: 15.92 kB / 449.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.1802, allocations: 7.906 kB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1802, allocations: 7.938 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001301/0.1803, allocations: 134.8 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1804, allocations: 19.81 kB / 449.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.1804, allocations: 17 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1804, allocations: 3.984 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1804, allocations: 4 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1805, allocations: 3.953 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.1807, allocations: 217.5 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1807, allocations: 0.625 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.1807, allocations: 8 kB / 449.5 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1807, allocations: 0 / 449.5 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1807, allocations: 7.984 kB / 449.5 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1808, allocations: 4 kB / 449.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1808, allocations: 3.938 kB / 449.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1811, allocations: 169.7 kB / 449.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.1811, allocations: 100.9 kB / 449.8 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1812, allocations: 7.922 kB / 449.8 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.1812, allocations: 7.984 kB / 449.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1813, allocations: 11.98 kB / 449.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1813, allocations: 8 kB / 449.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1815, allocations: 161.6 kB / 450 MB, free: 5.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1815, allocations: 3.938 kB / 450 MB, free: 5.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1818, allocations: 39.94 kB / 450 MB, free: 5.625 MB / 382.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00116/0.1829, allocations: 447.3 kB / 450.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.1832, allocations: 87.89 kB / 450.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1832, allocations: 0 / 450.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1833, allocations: 43.91 kB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1837, allocations: 47.23 kB / 450.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.1844, allocations: 287 kB / 450.9 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1848, allocations: 0.7166 MB / 451.6 MB, free: 4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.611e-05/0.1849, allocations: 33.5 kB / 451.7 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.185, allocations: 31.36 kB / 451.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.185, allocations: 0 / 451.7 MB, free: 3.938 MB / 382.1 MB Notification: Performance of Templates: time 0.006153/0.1911, allocations: 2.448 MB / 454.1 MB, free: 1.492 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches