Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001669/0.001675, allocations: 118 kB / 18.46 MB, free: 4.613 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.002064/0.002064, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.569/1.569, allocations: 227.4 MB / 251.6 MB, free: 15.93 MB / 206.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.2389/0.2389, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 84.73 kB / 490.3 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1542, allocations: 62.45 MB / 0.5398 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004131/0.1584, allocations: 1.684 MB / 0.5414 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1608, allocations: 1.005 MB / 0.5424 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.161, allocations: 4 kB / 0.5424 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.1615, allocations: 51.75 kB / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1619, allocations: 103.6 kB / 0.5425 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1622, allocations: 67.69 kB / 0.5426 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1624, allocations: 103.7 kB / 0.5427 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.1625, allocations: 4.234 kB / 0.5427 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1626, allocations: 47.77 kB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1628, allocations: 27.86 kB / 0.5428 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1628, allocations: 0 / 0.5428 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1629, allocations: 39.92 kB / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.163, allocations: 27.84 kB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/0.1631, allocations: 35.69 kB / 0.5429 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1633, allocations: 123.4 kB / 0.543 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1634, allocations: 4 kB / 0.543 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1634, allocations: 3.938 kB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1634, allocations: 0 / 0.543 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007812/0.1642, allocations: 446.5 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1642, allocations: 8.031 kB / 0.5434 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.1643, allocations: 16.88 kB / 0.5434 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1647, allocations: 221 kB / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1648, allocations: 4.375 kB / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1648, allocations: 384 / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.165, allocations: 57.98 kB / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.165, allocations: 0 / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.165, allocations: 4 kB / 0.5437 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.165, allocations: 3.938 kB / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.1651, allocations: 12 kB / 0.5437 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1654, allocations: 189.7 kB / 0.5439 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1657, allocations: 66.53 kB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.1657, allocations: 20.86 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1658, allocations: 0 / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.166, allocations: 63.33 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.166, allocations: 0 / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003724/0.1664, allocations: 105.5 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.1664, allocations: 59.41 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.1668, allocations: 270.7 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1668, allocations: 29.7 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1669, allocations: 112.1 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.167, allocations: 11.91 kB / 0.5446 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.1671, allocations: 21.7 kB / 0.5446 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1673, allocations: 326.8 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1673, allocations: 12 kB / 0.545 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.1674, allocations: 37.69 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1675, allocations: 45.64 kB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1675, allocations: 0 / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.1677, allocations: 89.53 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.1677, allocations: 9.875 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1678, allocations: 0 / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1678, allocations: 0 / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.1679, allocations: 19.95 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1679, allocations: 0 / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.168, allocations: 7.953 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.168, allocations: 4 kB / 0.5452 GB, free: 14.43 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 (7): * Single equations (assignments): 7 * 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.0001522/0.1681, allocations: 130.8 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1682, allocations: 19.84 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.1682, allocations: 20.98 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1682, allocations: 3.938 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1683, allocations: 4.312 kB / 0.5453 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1683, allocations: 0 / 0.5453 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1685, allocations: 197.6 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.1685, allocations: 4 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.1686, allocations: 11.88 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1686, allocations: 0 / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1686, allocations: 3.984 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1686, allocations: 0 / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1686, allocations: 0 / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1688, allocations: 117 kB / 0.5457 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1689, allocations: 100.9 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.169, allocations: 0 / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.169, allocations: 0 / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1691, allocations: 7.984 kB / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1691, allocations: 0 / 0.5458 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.1693, allocations: 200.6 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1693, allocations: 0 / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1696, allocations: 19.98 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00162/0.1712, allocations: 400.7 kB / 0.5464 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.1714, allocations: 47.92 kB / 0.5464 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1714, allocations: 0 / 0.5464 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.1715, allocations: 16 kB / 0.5464 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1718, allocations: 46.62 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.1724, allocations: 278.3 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1728, allocations: 0.7119 MB / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.1728, allocations: 12.5 kB / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1729, allocations: 19.42 kB / 0.5474 GB, free: 12.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1729, allocations: 0 / 0.5474 GB, free: 12.07 MB / 414.1 MB Notification: Performance of Templates: time 0.005292/0.1782, allocations: 1.534 MB / 0.5489 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.240541001781821]