Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001366/0.001366, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.001365/0.001365, allocations: 186 kB / 21.49 MB, free: 0.8242 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.834/1.834, allocations: 207.6 MB / 232.1 MB, free: 3.141 MB / 174.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.4552/0.4552, allocations: 44.23 MB / 328.4 MB, free: 6.277 MB / 254.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [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.002323/0.002323, allocations: 74.38 kB / 465.6 MB, free: 45.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1682, allocations: 61.01 MB / 0.5143 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00342/0.1716, allocations: 1.713 MB / 0.5159 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1731, allocations: 0.8237 MB / 0.5167 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.1732, allocations: 3.938 kB / 0.5168 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1735, allocations: 29.19 kB / 0.5168 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1737, allocations: 69.52 kB / 0.5168 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.174, allocations: 86.56 kB / 0.5169 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1742, allocations: 101.8 kB / 0.517 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1743, allocations: 11.25 kB / 0.517 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.1744, allocations: 40.91 kB / 0.5171 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.1745, allocations: 35.28 kB / 0.5171 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1745, allocations: 4 kB / 0.5171 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.1746, allocations: 35.98 kB / 0.5171 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1746, allocations: 23.86 kB / 0.5172 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1747, allocations: 31.81 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1749, allocations: 115.5 kB / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1749, allocations: 0 / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1749, allocations: 0 / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1749, allocations: 0 / 0.5173 GB, free: 10.07 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.0005266/0.1754, allocations: 410.8 kB / 0.5177 GB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1755, allocations: 15.84 kB / 0.5177 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1755, allocations: 8.891 kB / 0.5177 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1758, allocations: 216 kB / 0.5179 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1758, allocations: 8.375 kB / 0.5179 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1758, allocations: 8.125 kB / 0.5179 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1759, allocations: 53.67 kB / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.176, allocations: 7.938 kB / 0.518 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.176, allocations: 0 / 0.518 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.176, allocations: 0 / 0.518 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/0.1761, allocations: 19.98 kB / 0.518 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1764, allocations: 280.9 kB / 0.5183 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1766, allocations: 62.62 kB / 0.5184 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.1766, allocations: 16.84 kB / 0.5184 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1766, allocations: 4 kB / 0.5184 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.1768, allocations: 63.39 kB / 0.5184 GB, free: 8.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1768, allocations: 4 kB / 0.5184 GB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.1773, allocations: 177.4 kB / 0.5186 GB, free: 8.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1773, allocations: 55.41 kB / 0.5187 GB, free: 8.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1774, allocations: 168.7 kB / 0.5188 GB, free: 8.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1775, allocations: 25.7 kB / 0.5188 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.1775, allocations: 100.1 kB / 0.5189 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1775, allocations: 27.78 kB / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.1776, allocations: 21.72 kB / 0.519 GB, free: 8.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.1776, allocations: 334.7 kB / 0.5193 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.1777, allocations: 23.98 kB / 0.5193 GB, free: 7.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.1777, allocations: 37.64 kB / 0.5194 GB, free: 7.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.1778, allocations: 57.78 kB / 0.5194 GB, free: 7.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1778, allocations: 384 / 0.5194 GB, free: 7.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.178, allocations: 109.5 kB / 0.5195 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.178, allocations: 4 kB / 0.5195 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.178, allocations: 0 / 0.5195 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.178, allocations: 8 kB / 0.5195 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.1781, allocations: 12 kB / 0.5195 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1781, allocations: 3.984 kB / 0.5196 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.1781, allocations: 15.88 kB / 0.5196 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1782, allocations: 0 / 0.5196 GB, free: 7.523 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 8.638e-05/0.1782, allocations: 121.8 kB / 0.5197 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1783, allocations: 15.95 kB / 0.5197 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1785, allocations: 114.4 kB / 0.5198 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1785, allocations: 0 / 0.5198 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1785, allocations: 0 / 0.5198 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1785, allocations: 7.922 kB / 0.5198 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1788, allocations: 387.3 kB / 0.5202 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1788, allocations: 4 kB / 0.5202 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.1789, allocations: 11.94 kB / 0.5202 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1789, allocations: 8.031 kB / 0.5202 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1789, allocations: 3.938 kB / 0.5202 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1789, allocations: 0 / 0.5202 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1789, allocations: 4 kB / 0.5202 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1791, allocations: 196.3 kB / 0.5204 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.1791, allocations: 85.05 kB / 0.5205 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1791, allocations: 7.938 kB / 0.5205 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.1792, allocations: 4 kB / 0.5205 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1792, allocations: 7.984 kB / 0.5205 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1793, allocations: 8 kB / 0.5205 GB, free: 6.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.1793, allocations: 135.9 kB / 0.5206 GB, free: 6.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1793, allocations: 0 / 0.5206 GB, free: 6.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1796, allocations: 23.94 kB / 0.5207 GB, free: 6.285 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.00179/0.1814, allocations: 491.5 kB / 0.5211 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1816, allocations: 51.92 kB / 0.5212 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1816, allocations: 0 / 0.5212 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1817, allocations: 23.98 kB / 0.5212 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.182, allocations: 36.09 kB / 0.5212 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.1825, allocations: 226.5 kB / 0.5215 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.1827, allocations: 0.7041 MB / 0.5221 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.1828, allocations: 8.891 kB / 0.5221 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1828, allocations: 23.42 kB / 0.5222 GB, free: 4.727 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1828, allocations: 0 / 0.5222 GB, free: 4.727 MB / 382.1 MB Notification: Performance of Templates: time 0.004703/0.1875, allocations: 1.704 MB / 0.5238 GB, free: 3.027 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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: 6.01198220718652]