Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.00207/0.00207, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.002467/0.002466, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.487/1.487, allocations: 227.4 MB / 252.3 MB, free: 72 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.2521/0.2521, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003275/0.003275, allocations: 87.91 kB / 490.9 MB, free: 27.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1586, allocations: 62.46 MB / 0.5404 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003415/0.162, allocations: 1.681 MB / 0.5421 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1639, allocations: 1.009 MB / 0.5431 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.164, allocations: 0 / 0.5431 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004203/0.1645, allocations: 55.75 kB / 0.5431 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1648, allocations: 99.58 kB / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.165, allocations: 71.69 kB / 0.5433 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1652, allocations: 103.7 kB / 0.5434 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.1653, allocations: 4.234 kB / 0.5434 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1654, allocations: 43.78 kB / 0.5434 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.1655, allocations: 23.86 kB / 0.5434 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1655, allocations: 4 kB / 0.5434 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.1656, allocations: 35.92 kB / 0.5435 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.1657, allocations: 35.84 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1657, allocations: 35.69 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.166, allocations: 123.4 kB / 0.5437 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.166, allocations: 0 / 0.5437 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.166, allocations: 0 / 0.5437 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.166, allocations: 0 / 0.5437 GB, free: 0.832 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.0006144/0.1666, allocations: 446.5 kB / 0.5441 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1667, allocations: 8.031 kB / 0.5441 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1667, allocations: 12.89 kB / 0.5441 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1671, allocations: 232.9 kB / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1671, allocations: 384 / 0.5443 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1671, allocations: 4.375 kB / 0.5443 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1673, allocations: 50.25 kB / 0.5444 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1673, allocations: 7.875 kB / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1673, allocations: 0 / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1673, allocations: 0 / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/0.1674, allocations: 15.98 kB / 0.5444 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.1677, allocations: 189.7 kB / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1679, allocations: 58.55 kB / 0.5446 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.168, allocations: 16.86 kB / 0.5447 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.168, allocations: 0 / 0.5447 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1682, allocations: 75.31 kB / 0.5447 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1682, allocations: 8 kB / 0.5447 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003195/0.1685, allocations: 97.52 kB / 0.5448 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1686, allocations: 55.41 kB / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.1689, allocations: 274.7 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1689, allocations: 25.7 kB / 0.5452 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.169, allocations: 112.1 kB / 0.5453 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.169, allocations: 11.91 kB / 0.5453 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1691, allocations: 29.69 kB / 0.5453 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1692, allocations: 326.8 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1693, allocations: 15.98 kB / 0.5456 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.1694, allocations: 25.72 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1695, allocations: 49.64 kB / 0.5457 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1695, allocations: 0 / 0.5457 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.1697, allocations: 85.62 kB / 0.5458 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1697, allocations: 7.938 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1697, allocations: 0 / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1697, allocations: 7.969 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.1698, allocations: 15.94 kB / 0.5458 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1698, allocations: 0 / 0.5458 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.1699, allocations: 3.953 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1699, allocations: 4 kB / 0.5458 GB, free: 14.36 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.0001248/0.17, allocations: 135.8 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.17, allocations: 19.84 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1701, allocations: 20.98 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1701, allocations: 0 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1701, allocations: 4 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1701, allocations: 0 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1703, allocations: 197.9 kB / 0.5462 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1703, allocations: 0 / 0.5462 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.1704, allocations: 15.92 kB / 0.5462 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1704, allocations: 3.938 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.1704, allocations: 0 / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1704, allocations: 4 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1704, allocations: 4 kB / 0.5462 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1706, allocations: 113 kB / 0.5463 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.1707, allocations: 96.89 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1707, allocations: 0 / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.1708, allocations: 4 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1708, allocations: 3.984 kB / 0.5464 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1708, allocations: 4 kB / 0.5464 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.171, allocations: 204.6 kB / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.171, allocations: 0 / 0.5466 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1712, allocations: 19.98 kB / 0.5467 GB, free: 13.43 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.001584/0.1728, allocations: 404.8 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.173, allocations: 43.92 kB / 0.5471 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.173, allocations: 3.938 kB / 0.5471 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.1731, allocations: 19.98 kB / 0.5471 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1734, allocations: 34.61 kB / 0.5471 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.1739, allocations: 300 kB / 0.5474 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1743, allocations: 0.7119 MB / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1743, allocations: 15.44 kB / 0.5481 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1744, allocations: 3.938 kB / 0.5481 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.004045/0.1784, allocations: 1.883 MB / 0.55 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.013428226928227]