Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 216.3 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2516/0.2516, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 71.91 kB / 468.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.168, allocations: 61.04 MB / 0.5167 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003565/0.1715, allocations: 1.649 MB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1731, allocations: 0.765 MB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1731, allocations: 0 / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1735, allocations: 51.81 kB / 0.5191 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.1738, allocations: 63.69 kB / 0.5192 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1741, allocations: 87.7 kB / 0.5192 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1743, allocations: 87.77 kB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.1744, allocations: 11.98 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.1745, allocations: 47.77 kB / 0.5194 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1746, allocations: 23.86 kB / 0.5194 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1746, allocations: 4 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.1747, allocations: 27.98 kB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.1748, allocations: 39.78 kB / 0.5195 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1748, allocations: 19.81 kB / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1751, allocations: 119.4 kB / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1751, allocations: 0 / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1751, allocations: 0 / 0.5196 GB, free: 3.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1751, allocations: 4 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006649/0.1758, allocations: 353.5 kB / 0.5199 GB, free: 3.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1758, allocations: 8.031 kB / 0.52 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.1759, allocations: 20.84 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1762, allocations: 161.9 kB / 0.5201 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1762, allocations: 4.359 kB / 0.5201 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1762, allocations: 8.062 kB / 0.5201 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1764, allocations: 49.67 kB / 0.5202 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1764, allocations: 0 / 0.5202 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1764, allocations: 7.938 kB / 0.5202 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1764, allocations: 4 kB / 0.5202 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.1765, allocations: 19.98 kB / 0.5202 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.1768, allocations: 133.3 kB / 0.5203 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1769, allocations: 54.55 kB / 0.5204 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.177, allocations: 20.84 kB / 0.5204 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.177, allocations: 4 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1772, allocations: 67.33 kB / 0.5205 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1772, allocations: 0 / 0.5205 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003289/0.1775, allocations: 105.6 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1776, allocations: 55.34 kB / 0.5206 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.1779, allocations: 263.5 kB / 0.5209 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1779, allocations: 29.7 kB / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.178, allocations: 108.1 kB / 0.521 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.178, allocations: 11.94 kB / 0.521 GB, free: 1.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.178, allocations: 17.72 kB / 0.5211 GB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1782, allocations: 330.8 kB / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1782, allocations: 15.98 kB / 0.5214 GB, free: 1.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/0.1783, allocations: 29.69 kB / 0.5214 GB, free: 1.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1784, allocations: 49.7 kB / 0.5215 GB, free: 1.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1784, allocations: 0 / 0.5215 GB, free: 1.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.1786, allocations: 101.4 kB / 0.5216 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1786, allocations: 8 kB / 0.5216 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1786, allocations: 0 / 0.5216 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1786, allocations: 0 / 0.5216 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.1787, allocations: 11.98 kB / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1787, allocations: 7.938 kB / 0.5216 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1788, allocations: 11.92 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1788, allocations: 4 kB / 0.5216 GB, free: 1.383 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001308/0.1789, allocations: 133.8 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1789, allocations: 15.84 kB / 0.5217 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.1792, allocations: 103.1 kB / 0.5218 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1792, allocations: 0 / 0.5218 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1792, allocations: 4.062 kB / 0.5218 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1792, allocations: 0 / 0.5218 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1793, allocations: 137.3 kB / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1793, allocations: 7.938 kB / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.1794, allocations: 11.94 kB / 0.522 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1794, allocations: 3.938 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1794, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1794, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1794, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1796, allocations: 117 kB / 0.5221 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.1796, allocations: 15.84 kB / 0.5221 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1796, allocations: 7.984 kB / 0.5221 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.1797, allocations: 4 kB / 0.5221 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1797, allocations: 0 / 0.5221 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1797, allocations: 7.984 kB / 0.5221 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.1799, allocations: 203.3 kB / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1799, allocations: 0 / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1801, allocations: 20 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001713/0.1819, allocations: 438.1 kB / 0.5228 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.182, allocations: 43.97 kB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.182, allocations: 0 / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1821, allocations: 27.86 kB / 0.5228 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1824, allocations: 31.84 kB / 0.5229 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.183, allocations: 274.4 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.1831, allocations: 92.73 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.1831, allocations: 8.438 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1832, allocations: 23.42 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1832, allocations: 0 / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Templates: time 0.005032/0.1882, allocations: 1.689 MB / 0.5249 GB, free: 13.94 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.646512426435947]