Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 121 kB / 19.13 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.16 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 91.78 kB / 491 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 62.44 MB / 0.5404 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003324/0.1587, allocations: 1.731 MB / 0.5421 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1607, allocations: 1.024 MB / 0.5431 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.1608, allocations: 0 / 0.5431 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1611, allocations: 43.77 kB / 0.5432 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1615, allocations: 99.53 kB / 0.5433 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1617, allocations: 75.67 kB / 0.5433 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1619, allocations: 107.7 kB / 0.5434 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1621, allocations: 12 kB / 0.5434 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.1622, allocations: 43.78 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.1623, allocations: 31.73 kB / 0.5435 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1623, allocations: 4 kB / 0.5435 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1624, allocations: 47.97 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.1625, allocations: 23.92 kB / 0.5436 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.1625, allocations: 31.75 kB / 0.5436 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1628, allocations: 119.5 kB / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1628, allocations: 0 / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1628, allocations: 0 / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1628, allocations: 0 / 0.5437 GB, free: 0.7539 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.000668/0.1635, allocations: 438.5 kB / 0.5441 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1635, allocations: 8.031 kB / 0.5442 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1636, allocations: 12.83 kB / 0.5442 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1639, allocations: 212.8 kB / 0.5444 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.164, allocations: 8.375 kB / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.164, allocations: 384 / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1642, allocations: 61.97 kB / 0.5444 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1642, allocations: 0 / 0.5444 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1642, allocations: 0 / 0.5444 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1642, allocations: 4 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.1643, allocations: 19.92 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1647, allocations: 288.9 kB / 0.5447 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1649, allocations: 54.69 kB / 0.5448 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.165, allocations: 20.84 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.165, allocations: 0 / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1652, allocations: 71.33 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1652, allocations: 0 / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005671/0.1657, allocations: 189.3 kB / 0.5451 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1658, allocations: 51.41 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.166, allocations: 191.6 kB / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.166, allocations: 29.7 kB / 0.5453 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.1661, allocations: 100.1 kB / 0.5454 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1662, allocations: 23.84 kB / 0.5454 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1662, allocations: 21.72 kB / 0.5455 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1664, allocations: 334.8 kB / 0.5458 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.1664, allocations: 20.36 kB / 0.5458 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.1665, allocations: 33.7 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1666, allocations: 57.66 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.1667, allocations: 4 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.1669, allocations: 109.5 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1669, allocations: 8.031 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1669, allocations: 0 / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1669, allocations: 11.92 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.167, allocations: 12 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.167, allocations: 3.984 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1671, allocations: 8 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1671, allocations: 0 / 0.546 GB, free: 14.16 MB / 414.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.0001071/0.1672, allocations: 127.3 kB / 0.5462 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1673, allocations: 20.08 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1673, allocations: 17.41 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1673, allocations: 7.938 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1673, allocations: 0 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1673, allocations: 0 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.1678, allocations: 399.2 kB / 0.5466 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1679, allocations: 0 / 0.5466 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1679, allocations: 11.94 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1679, allocations: 0 / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1679, allocations: 4.031 kB / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1679, allocations: 7.938 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1679, allocations: 0 / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1682, allocations: 204.3 kB / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1683, allocations: 89.02 kB / 0.5469 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1683, allocations: 0 / 0.5469 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.1684, allocations: 7.938 kB / 0.5469 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1684, allocations: 15.98 kB / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.1684, allocations: 0 / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1686, allocations: 156.2 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.707e-06/0.1686, allocations: 0 / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1689, allocations: 23.94 kB / 0.5471 GB, free: 12.98 MB / 414.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.001744/0.1706, allocations: 464.2 kB / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1708, allocations: 63.91 kB / 0.5476 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1708, allocations: 0 / 0.5476 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1709, allocations: 23.98 kB / 0.5476 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1713, allocations: 30.61 kB / 0.5476 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1718, allocations: 264.4 kB / 0.5479 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1721, allocations: 0.7079 MB / 0.5486 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1722, allocations: 19.42 kB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1722, allocations: 0 / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004398/0.1766, allocations: 1.963 MB / 0.5505 GB, free: 9.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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: 8.334934841026552]