Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 97.64 kB / 16.02 MB, free: 84 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.0009625/0.000963, allocations: 178.1 kB / 16.92 MB, free: 6.684 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.058/2.058, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.5092/0.5092, allocations: 43.57 MB / 315 MB, free: 9.039 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.0005382/0.000538, allocations: 19.98 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 58.87 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002949/0.1721, allocations: 1.421 MB / 444.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1747, allocations: 1.352 MB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1749, allocations: 0 / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1753, allocations: 27.91 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1756, allocations: 55.77 kB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.176, allocations: 79.84 kB / 446.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1762, allocations: 87.7 kB / 446.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1764, allocations: 16.2 kB / 446.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1765, allocations: 39.78 kB / 446.5 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1767, allocations: 31.84 kB / 446.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1767, allocations: 4 kB / 446.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.177, allocations: 55.97 kB / 446.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.177, allocations: 23.86 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.1771, allocations: 49.52 kB / 446.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1774, allocations: 127.9 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1774, allocations: 0 / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1774, allocations: 0 / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1774, allocations: 0 / 446.8 MB, free: 9.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006654/0.1781, allocations: 395.2 kB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1782, allocations: 8.031 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1782, allocations: 8.844 kB / 447.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1785, allocations: 216 kB / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1785, allocations: 4.375 kB / 447.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1786, allocations: 4.125 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1788, allocations: 67.39 kB / 447.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1788, allocations: 3.938 kB / 447.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1788, allocations: 0 / 447.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1788, allocations: 4 kB / 447.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.1789, allocations: 19.98 kB / 447.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1794, allocations: 288.8 kB / 447.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1796, allocations: 58.67 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.1796, allocations: 20.86 kB / 447.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1797, allocations: 0 / 447.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1799, allocations: 75.38 kB / 448 MB, free: 8.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.1799, allocations: 3.938 kB / 448 MB, free: 8.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006326/0.1806, allocations: 165.3 kB / 448.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.1806, allocations: 81.11 kB / 448.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1808, allocations: 153.8 kB / 448.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1808, allocations: 25.7 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1809, allocations: 104 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1809, allocations: 19.75 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.181, allocations: 17.7 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1812, allocations: 322.8 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.1812, allocations: 23.98 kB / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1813, allocations: 42.56 kB / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1814, allocations: 61.73 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1814, allocations: 3.938 kB / 449 MB, free: 7.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.1816, allocations: 97.5 kB / 449.1 MB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1817, allocations: 8 kB / 449.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1817, allocations: 0 / 449.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1817, allocations: 0 / 449.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.1818, allocations: 19.92 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1818, allocations: 0 / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.1819, allocations: 7.938 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1819, allocations: 12.22 kB / 449.1 MB, free: 6.953 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001016/0.182, allocations: 117.8 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.182, allocations: 15.84 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1821, allocations: 12.72 kB / 449.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1821, allocations: 0 / 449.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1821, allocations: 0 / 449.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1821, allocations: 3.938 kB / 449.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.1826, allocations: 399.4 kB / 449.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1826, allocations: 0 / 449.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.1827, allocations: 8 kB / 449.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1827, allocations: 0 / 449.7 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1827, allocations: 7.938 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1827, allocations: 0 / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1827, allocations: 4.062 kB / 449.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.183, allocations: 212.2 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.183, allocations: 85.02 kB / 450 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1831, allocations: 8.312 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.1831, allocations: 7.984 kB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1832, allocations: 4 kB / 450 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1832, allocations: 8 kB / 450 MB, free: 5.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1833, allocations: 118.5 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1833, allocations: 0 / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1836, allocations: 31.98 kB / 450.1 MB, free: 5.828 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: 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 (8): * Single equations (assignments): 6 * 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.001337/0.185, allocations: 0.5076 MB / 450.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1852, allocations: 55.97 kB / 450.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1853, allocations: 0 / 450.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1854, allocations: 31.92 kB / 450.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1857, allocations: 27.98 kB / 450.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.1862, allocations: 214.1 kB / 451 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1866, allocations: 0.6965 MB / 451.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.1867, allocations: 25.17 kB / 451.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1867, allocations: 19.44 kB / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1867, allocations: 0 / 451.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of Templates: time 0.005358/0.1921, allocations: 1.873 MB / 453.6 MB, free: 2.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches