Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001558/0.001558, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.714/1.714, 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.2577/0.2577, allocations: 43.53 MB / 313.9 MB, free: 0.5117 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.002707/0.002707, allocations: 75.31 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1669, allocations: 57.79 MB / 440.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.005122/0.1721, allocations: 1.693 MB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.174, allocations: 0.7961 MB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1742, allocations: 0 / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.1747, allocations: 47.81 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.1752, allocations: 63.69 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1756, allocations: 87.69 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1758, allocations: 115.7 kB / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.176, allocations: 12.5 kB / 443.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1761, allocations: 47.78 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1763, allocations: 39.84 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1763, allocations: 12 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1765, allocations: 51.91 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.1766, allocations: 27.91 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.1767, allocations: 31.75 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.177, allocations: 131.6 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.177, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.177, allocations: 3.938 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.177, allocations: 0 / 443.7 MB, free: 3.703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006573/0.1777, allocations: 418.9 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1777, allocations: 11.89 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.1778, allocations: 16.75 kB / 444.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1781, allocations: 226.1 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1781, allocations: 384 / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1782, allocations: 8.125 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1784, allocations: 65.66 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1784, allocations: 4 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1784, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1784, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1785, allocations: 43.89 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.179, allocations: 320.7 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1792, allocations: 70.67 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.1793, allocations: 36.78 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1793, allocations: 0 / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.1796, allocations: 91.31 kB / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.1796, allocations: 0 / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000667/0.1803, allocations: 221.2 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1803, allocations: 59.39 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1805, allocations: 179.3 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1805, allocations: 29.7 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.1805, allocations: 104.1 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1806, allocations: 39.55 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1806, allocations: 25.72 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.1807, allocations: 326.8 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.1808, allocations: 24 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.1809, allocations: 49.69 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.181, allocations: 81.64 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.181, allocations: 0 / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/0.1812, allocations: 125.5 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1812, allocations: 8 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1812, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1813, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1814, allocations: 23.92 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1814, allocations: 3.984 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.1815, allocations: 8.125 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1815, allocations: 8 kB / 446.2 MB, free: 0.8945 MB / 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 (12): * Single equations (assignments): 12 * 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.0001015/0.1816, allocations: 137.2 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1816, allocations: 15.81 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.1817, allocations: 21.34 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1817, allocations: 4 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1817, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1817, allocations: 3.938 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.1822, allocations: 431.2 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1822, allocations: 0 / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.1822, allocations: 19.98 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1822, allocations: 3.938 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1823, allocations: 4 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1823, allocations: 0 / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1823, allocations: 0 / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1826, allocations: 232.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.1826, allocations: 85.02 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1827, allocations: 7.938 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.1828, allocations: 7.984 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1828, allocations: 4 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1828, allocations: 4 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.183, allocations: 139.9 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.183, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1833, allocations: 31.98 kB / 447.4 MB, free: 15.66 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 (10): * Single equations (assignments): 8 * 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.001161/0.1844, allocations: 480.3 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1847, allocations: 79.91 kB / 447.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1847, allocations: 4.062 kB / 447.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.1848, allocations: 43.92 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1852, allocations: 29.17 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.1858, allocations: 251 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1862, allocations: 0.7045 MB / 448.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.736e-05/0.1862, allocations: 17.08 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.1863, allocations: 23.42 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1863, allocations: 0 / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Templates: time 0.005855/0.1922, allocations: 1.879 MB / 450.9 MB, free: 12.21 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches