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.0016/0.001601, allocations: 106.5 kB / 17.04 MB, free: 5.359 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.001662/0.001662, allocations: 195.2 kB / 17.98 MB, free: 4.898 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.803/1.803, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.281/0.281, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 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.00163/0.00163, allocations: 69.62 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1709, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003699/0.1747, allocations: 1.69 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1767, allocations: 1.41 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.1767, allocations: 0 / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1771, allocations: 43.72 kB / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1773, allocations: 59.75 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1776, allocations: 83.7 kB / 445.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1778, allocations: 95.75 kB / 445.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1779, allocations: 8.219 kB / 445.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.178, allocations: 51.77 kB / 445.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1782, allocations: 31.86 kB / 445.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1782, allocations: 7.938 kB / 445.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1783, allocations: 67.95 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.1784, allocations: 11.98 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.1785, allocations: 31.75 kB / 445.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1787, allocations: 123.6 kB / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1787, allocations: 0 / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1787, allocations: 0 / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1787, allocations: 0 / 445.7 MB, free: 2.426 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006216/0.1794, allocations: 411 kB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1794, allocations: 15.88 kB / 446.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.1795, allocations: 8.844 kB / 446.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1798, allocations: 193.4 kB / 446.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1798, allocations: 16.3 kB / 446.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1798, allocations: 4.125 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.18, allocations: 67.39 kB / 446.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.18, allocations: 7.906 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1801, allocations: 0 / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1801, allocations: 0 / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1801, allocations: 19.98 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1805, allocations: 284.8 kB / 446.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1807, allocations: 58.62 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1808, allocations: 24.84 kB / 446.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1808, allocations: 0 / 446.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.1809, allocations: 67.39 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.181, allocations: 0 / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005252/0.1815, allocations: 169.3 kB / 447 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1815, allocations: 77.11 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1817, allocations: 164.9 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1817, allocations: 25.7 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.1817, allocations: 92.14 kB / 447.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1818, allocations: 35.52 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1818, allocations: 29.72 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.1819, allocations: 322.8 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.1819, allocations: 19.98 kB / 447.8 MB, free: 132 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.182, allocations: 46.94 kB / 447.8 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.1821, allocations: 61.77 kB / 447.9 MB, free: 8 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1821, allocations: 0 / 447.9 MB, free: 8 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002123/0.1823, allocations: 97.61 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1823, allocations: 9.25 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1823, allocations: 0 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1824, allocations: 64 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.1825, allocations: 27.92 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1825, allocations: 4 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1825, allocations: 7.844 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1826, allocations: 4 kB / 448 MB, free: 15.85 MB / 334.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.0001212/0.1827, allocations: 129.7 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1827, allocations: 11.91 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.1828, allocations: 12.72 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1828, allocations: 0 / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1828, allocations: 4 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1828, allocations: 3.938 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1832, allocations: 387.2 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1833, allocations: 3.984 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.1833, allocations: 8 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1833, allocations: 0 / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1833, allocations: 11.94 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1833, allocations: 0 / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1833, allocations: 0 / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1836, allocations: 204.2 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.1837, allocations: 89 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1837, allocations: 7.938 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1838, allocations: 4 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1838, allocations: 7.984 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1839, allocations: 0 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.184, allocations: 127.2 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.184, allocations: 0 / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1843, allocations: 28.19 kB / 449 MB, free: 14.72 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 (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.001326/0.1856, allocations: 0.4982 MB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1858, allocations: 59.92 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1858, allocations: 0 / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.1859, allocations: 27.92 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1863, allocations: 43.31 kB / 449.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.1868, allocations: 198.8 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1872, allocations: 0.6963 MB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.1872, allocations: 17.17 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1873, allocations: 23.44 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1873, allocations: 0 / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Templates: time 0.00554/0.1929, allocations: 1.939 MB / 452.5 MB, free: 11.27 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches