Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001802/0.001802, allocations: 117.7 kB / 18.46 MB, free: 4.613 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.001946/0.001946, allocations: 191.7 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 247.1 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4306/0.4306, allocations: 44.25 MB / 343.5 MB, free: 7.621 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 69.44 kB / 479.4 MB, free: 24.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1567, allocations: 60.83 MB / 0.5276 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003721/0.1605, allocations: 1.882 MB / 0.5294 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.1622, allocations: 0.9859 MB / 0.5304 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.1623, allocations: 7.938 kB / 0.5304 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1629, allocations: 251.4 kB / 0.5306 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1633, allocations: 183.4 kB / 0.5308 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1637, allocations: 182.9 kB / 0.531 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.1641, allocations: 259.3 kB / 0.5312 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1642, allocations: 37.59 kB / 0.5313 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1644, allocations: 131.5 kB / 0.5314 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1646, allocations: 179.5 kB / 0.5316 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1647, allocations: 8 kB / 0.5316 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1648, allocations: 59.97 kB / 0.5316 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.1649, allocations: 59.77 kB / 0.5317 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.165, allocations: 99.22 kB / 0.5318 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1654, allocations: 242.9 kB / 0.532 GB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1654, allocations: 0 / 0.532 GB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1654, allocations: 0 / 0.532 GB, free: 8.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1654, allocations: 0 / 0.532 GB, free: 8.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008677/0.1663, allocations: 0.5872 MB / 0.5326 GB, free: 7.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1663, allocations: 8.031 kB / 0.5326 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.1664, allocations: 32.75 kB / 0.5326 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1668, allocations: 284.3 kB / 0.5329 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1669, allocations: 12.38 kB / 0.5329 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1669, allocations: 8.125 kB / 0.5329 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1672, allocations: 113.2 kB / 0.533 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1672, allocations: 4 kB / 0.533 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1672, allocations: 4 kB / 0.533 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1672, allocations: 0 / 0.533 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1674, allocations: 51.94 kB / 0.5331 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1679, allocations: 480.7 kB / 0.5335 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1683, allocations: 125.2 kB / 0.5337 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1684, allocations: 45.83 kB / 0.5337 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1685, allocations: 0 / 0.5337 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1687, allocations: 125.2 kB / 0.5338 GB, free: 6.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1687, allocations: 0 / 0.5338 GB, free: 6.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001324/0.1701, allocations: 0.5164 MB / 0.5343 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1701, allocations: 85.05 kB / 0.5344 GB, free: 5.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.1706, allocations: 485.6 kB / 0.5349 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1707, allocations: 33.7 kB / 0.5349 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1708, allocations: 156.5 kB / 0.5351 GB, free: 5.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.1709, allocations: 71.42 kB / 0.5351 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.171, allocations: 37.72 kB / 0.5352 GB, free: 5.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1711, allocations: 354.8 kB / 0.5355 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1713, allocations: 55.97 kB / 0.5355 GB, free: 4.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1714, allocations: 92.22 kB / 0.5356 GB, free: 4.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1717, allocations: 167.3 kB / 0.5358 GB, free: 4.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1717, allocations: 0 / 0.5358 GB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003986/0.1721, allocations: 233.2 kB / 0.536 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1722, allocations: 11.94 kB / 0.536 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1722, allocations: 0 / 0.536 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1722, allocations: 4 kB / 0.536 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1723, allocations: 43.91 kB / 0.5361 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1724, allocations: 4 kB / 0.5361 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.1724, allocations: 12.06 kB / 0.5361 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1725, allocations: 4 kB / 0.5361 GB, free: 4.047 MB / 398.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 (26): * Single equations (assignments): 26 * 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.00018/0.1727, allocations: 178.2 kB / 0.5363 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.1727, allocations: 39.7 kB / 0.5363 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.1728, allocations: 46.8 kB / 0.5363 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1728, allocations: 0 / 0.5363 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1728, allocations: 0 / 0.5363 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1728, allocations: 4 kB / 0.5363 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.1738, allocations: 0.7312 MB / 0.5371 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1738, allocations: 4 kB / 0.5371 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.1739, allocations: 31.92 kB / 0.5371 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1739, allocations: 4 kB / 0.5371 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1739, allocations: 8 kB / 0.5371 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1739, allocations: 4.188 kB / 0.5371 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1739, allocations: 8.109 kB / 0.5371 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.1744, allocations: 430.5 kB / 0.5375 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.1745, allocations: 108.9 kB / 0.5376 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1746, allocations: 7.984 kB / 0.5376 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1747, allocations: 8 kB / 0.5377 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1748, allocations: 23.91 kB / 0.5377 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.1748, allocations: 15.94 kB / 0.5377 GB, free: 2.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003404/0.1752, allocations: 363.1 kB / 0.538 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.1752, allocations: 0 / 0.538 GB, free: 1.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1755, allocations: 47.88 kB / 0.5381 GB, free: 1.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001905/0.1774, allocations: 0.5168 MB / 0.5386 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1778, allocations: 157.3 kB / 0.5387 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1778, allocations: 3.938 kB / 0.5387 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.178, allocations: 79.84 kB / 0.5388 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.1786, allocations: 72.59 kB / 0.5389 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.1795, allocations: 0.5884 MB / 0.5395 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.18, allocations: 0.779 MB / 0.5402 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1801, allocations: 37.92 kB / 0.5403 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.1801, allocations: 35.42 kB / 0.5403 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1802, allocations: 0 / 0.5403 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.007326/0.1875, allocations: 3.159 MB / 0.5434 GB, free: 12.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.416912409476936]