Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001863/0.001863, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001681/0.001681, allocations: 213.7 kB / 22.98 MB, free: 4.977 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.659/1.659, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2591/0.2591, allocations: 44.27 MB / 330.4 MB, free: 9.293 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [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.002311/0.002311, allocations: 80.98 kB / 468.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1597, allocations: 61.04 MB / 0.5167 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004402/0.1641, allocations: 1.796 MB / 0.5185 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.166, allocations: 0.8702 MB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1661, allocations: 4 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.1668, allocations: 223.4 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.1672, allocations: 171.4 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.1677, allocations: 151.6 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.168, allocations: 231.3 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1682, allocations: 17.72 kB / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1684, allocations: 111.6 kB / 0.5202 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1686, allocations: 163.5 kB / 0.5203 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1686, allocations: 8 kB / 0.5203 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1687, allocations: 43.98 kB / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1689, allocations: 67.75 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1689, allocations: 55.5 kB / 0.5205 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1693, allocations: 222.9 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1693, allocations: 4 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1693, allocations: 0 / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1693, allocations: 0 / 0.5207 GB, free: 2.461 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008628/0.1702, allocations: 480.5 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1702, allocations: 12.03 kB / 0.5212 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.1703, allocations: 32.73 kB / 0.5212 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1707, allocations: 210.5 kB / 0.5214 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1707, allocations: 4.375 kB / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.1707, allocations: 8.125 kB / 0.5214 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.171, allocations: 99.34 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.171, allocations: 7.938 kB / 0.5215 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.171, allocations: 4 kB / 0.5215 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.171, allocations: 0 / 0.5215 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1711, allocations: 39.97 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.1718, allocations: 396.6 kB / 0.522 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1721, allocations: 117.3 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1722, allocations: 37.7 kB / 0.5221 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1722, allocations: 7.938 kB / 0.5221 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.1725, allocations: 113 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.1725, allocations: 0 / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.1736, allocations: 396.5 kB / 0.5226 GB, free: 400 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1737, allocations: 81.11 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.1743, allocations: 436.5 kB / 0.5231 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.1744, allocations: 33.64 kB / 0.5231 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1746, allocations: 156.3 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.1747, allocations: 51.62 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.1747, allocations: 33.72 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.175, allocations: 342.8 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1751, allocations: 39.98 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1753, allocations: 75.41 kB / 0.5238 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.1755, allocations: 131.5 kB / 0.5239 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1755, allocations: 4 kB / 0.5239 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003918/0.1759, allocations: 185.3 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1759, allocations: 4 kB / 0.5241 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.176, allocations: 0 / 0.5241 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.176, allocations: 8.062 kB / 0.5241 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.1761, allocations: 27.98 kB / 0.5241 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1762, allocations: 4 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1762, allocations: 19.86 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1763, allocations: 4 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002416/0.1765, allocations: 169.7 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.1766, allocations: 31.77 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1771, allocations: 224.3 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1771, allocations: 3.984 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1771, allocations: 4 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.1771, allocations: 7.938 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.1781, allocations: 0.5654 MB / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1781, allocations: 3.984 kB / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1782, allocations: 16 kB / 0.5252 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1782, allocations: 11.88 kB / 0.5252 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1782, allocations: 12.72 kB / 0.5252 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1782, allocations: 3.938 kB / 0.5252 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1782, allocations: 4.062 kB / 0.5252 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.1788, allocations: 384.5 kB / 0.5256 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.1788, allocations: 19.86 kB / 0.5256 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.1789, allocations: 23.86 kB / 0.5256 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.179, allocations: 4 kB / 0.5256 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.1791, allocations: 19.91 kB / 0.5256 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1791, allocations: 8 kB / 0.5256 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.1795, allocations: 327 kB / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1795, allocations: 0 / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1798, allocations: 39.94 kB / 0.526 GB, free: 12.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002031/0.1819, allocations: 492.2 kB / 0.5264 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1822, allocations: 131.8 kB / 0.5266 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1822, allocations: 3.938 kB / 0.5266 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1824, allocations: 63.89 kB / 0.5266 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.1829, allocations: 69.41 kB / 0.5267 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1839, allocations: 0.4945 MB / 0.5272 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1842, allocations: 161 kB / 0.5273 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.663e-05/0.1843, allocations: 33.61 kB / 0.5274 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1843, allocations: 23.42 kB / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1843, allocations: 0 / 0.5274 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.008291/0.1926, allocations: 3.112 MB / 0.5304 GB, free: 8.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.751325983554125]