Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.753/1.753, allocations: 207.6 MB / 232.1 MB, free: 11.11 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.253/0.253, allocations: 44.25 MB / 328.4 MB, free: 10.05 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.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "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.002391/0.002391, allocations: 76.39 kB / 465.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1604, allocations: 61 MB / 0.5143 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.004306/0.1647, allocations: 1.713 MB / 0.516 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.167, allocations: 0.8362 MB / 0.5168 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1671, allocations: 0 / 0.5168 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.1675, allocations: 47.81 kB / 0.5168 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1678, allocations: 59.7 kB / 0.5169 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1681, allocations: 87.77 kB / 0.517 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.1684, allocations: 95.69 kB / 0.5171 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1685, allocations: 12.2 kB / 0.5171 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.1687, allocations: 39.8 kB / 0.5171 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1688, allocations: 31.83 kB / 0.5171 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1688, allocations: 4 kB / 0.5171 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1689, allocations: 43.92 kB / 0.5172 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.169, allocations: 23.92 kB / 0.5172 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.169, allocations: 39.67 kB / 0.5172 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1694, allocations: 119.5 kB / 0.5174 GB, free: 4.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1694, allocations: 8 kB / 0.5174 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1694, allocations: 0 / 0.5174 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1694, allocations: 0 / 0.5174 GB, free: 4.516 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009293/0.1704, allocations: 426.6 kB / 0.5178 GB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1704, allocations: 15.84 kB / 0.5178 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.1705, allocations: 20.83 kB / 0.5178 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1709, allocations: 212.1 kB / 0.518 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1709, allocations: 384 / 0.518 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.171, allocations: 16.11 kB / 0.518 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1711, allocations: 53.67 kB / 0.5181 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1711, allocations: 0 / 0.5181 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1712, allocations: 4 kB / 0.5181 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1712, allocations: 0 / 0.5181 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1713, allocations: 23.98 kB / 0.5181 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.172, allocations: 292.8 kB / 0.5184 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1721, allocations: 54.67 kB / 0.5184 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1722, allocations: 16.86 kB / 0.5184 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1722, allocations: 0 / 0.5184 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1724, allocations: 71.33 kB / 0.5185 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1724, allocations: 0 / 0.5185 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006163/0.173, allocations: 177.4 kB / 0.5187 GB, free: 2.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1731, allocations: 55.34 kB / 0.5187 GB, free: 2.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1733, allocations: 230.6 kB / 0.519 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1734, allocations: 25.7 kB / 0.519 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.1734, allocations: 108.1 kB / 0.5191 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1735, allocations: 27.78 kB / 0.5191 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1735, allocations: 25.72 kB / 0.5191 GB, free: 2.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1737, allocations: 326.8 kB / 0.5194 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.1738, allocations: 27.98 kB / 0.5195 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.1738, allocations: 33.7 kB / 0.5195 GB, free: 2.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.174, allocations: 61.64 kB / 0.5196 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.174, allocations: 0 / 0.5196 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.1742, allocations: 101.6 kB / 0.5197 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1742, allocations: 8 kB / 0.5197 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1742, allocations: 7.969 kB / 0.5197 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1742, allocations: 0 / 0.5197 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1744, allocations: 19.92 kB / 0.5197 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1744, allocations: 4 kB / 0.5197 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1744, allocations: 3.938 kB / 0.5197 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1744, allocations: 8 kB / 0.5197 GB, free: 1.867 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 (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.0002076/0.1746, allocations: 125.8 kB / 0.5198 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1747, allocations: 7.953 kB / 0.5198 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1749, allocations: 131.1 kB / 0.52 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.175, allocations: 0 / 0.52 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.175, allocations: 0 / 0.52 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.175, allocations: 3.938 kB / 0.52 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.1757, allocations: 395.7 kB / 0.5203 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1757, allocations: 0 / 0.5203 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1757, allocations: 15.98 kB / 0.5204 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1757, allocations: 0 / 0.5204 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1757, allocations: 7.922 kB / 0.5204 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1757, allocations: 8.031 kB / 0.5204 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1757, allocations: 0 / 0.5204 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.176, allocations: 204.3 kB / 0.5206 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.1761, allocations: 89 kB / 0.5207 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1761, allocations: 11.92 kB / 0.5207 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1762, allocations: 4 kB / 0.5207 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1763, allocations: 8 kB / 0.5207 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1763, allocations: 7.984 kB / 0.5207 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1765, allocations: 163.2 kB / 0.5208 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1765, allocations: 0 / 0.5208 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1768, allocations: 24.12 kB / 0.5209 GB, free: 0.5664 MB / 398.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.002272/0.1791, allocations: 472.1 kB / 0.5213 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.1793, allocations: 55.91 kB / 0.5214 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1793, allocations: 0 / 0.5214 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1794, allocations: 23.98 kB / 0.5214 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1798, allocations: 31.27 kB / 0.5214 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.1806, allocations: 278.7 kB / 0.5217 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.1812, allocations: 0.7041 MB / 0.5224 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.1813, allocations: 17.17 kB / 0.5224 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1813, allocations: 15.44 kB / 0.5224 GB, free: 14.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1813, allocations: 4 kB / 0.5224 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005895/0.1872, allocations: 1.745 MB / 0.5241 GB, free: 13.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.839643755927682]