Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001325/0.001325, allocations: 111.7 kB / 19.13 MB, free: 3.922 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.001573/0.001573, allocations: 208.9 kB / 22.08 MB, free: 0.9727 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.471/1.471, allocations: 227.4 MB / 252.3 MB, free: 96 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.2429/0.2429, allocations: 46.16 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 79.97 kB / 490.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1533, allocations: 62.45 MB / 0.5404 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003946/0.1573, allocations: 1.952 MB / 0.5423 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1593, allocations: 1.055 MB / 0.5433 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1594, allocations: 4 kB / 0.5433 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1598, allocations: 47.64 kB / 0.5434 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.1602, allocations: 91.55 kB / 0.5435 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1605, allocations: 95.64 kB / 0.5436 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1609, allocations: 147.5 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.161, allocations: 33.48 kB / 0.5437 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1612, allocations: 55.72 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1613, allocations: 59.64 kB / 0.5439 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1614, allocations: 4 kB / 0.5439 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1615, allocations: 47.98 kB / 0.5439 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1616, allocations: 27.91 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.1617, allocations: 47.62 kB / 0.544 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.1621, allocations: 159.3 kB / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1621, allocations: 0 / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1621, allocations: 0 / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1622, allocations: 0 / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001152/0.1633, allocations: 496.1 kB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.1634, allocations: 8.031 kB / 0.5446 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.1635, allocations: 16.84 kB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1639, allocations: 236.8 kB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.164, allocations: 8.375 kB / 0.5449 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.164, allocations: 4.375 kB / 0.5449 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1643, allocations: 114.1 kB / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1644, allocations: 0 / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1644, allocations: 0 / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1644, allocations: 4 kB / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1646, allocations: 51.91 kB / 0.545 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.1654, allocations: 0.5048 MB / 0.5455 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.1658, allocations: 90.64 kB / 0.5456 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1659, allocations: 40.83 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1659, allocations: 4 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.1661, allocations: 91.23 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1662, allocations: 0 / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004404/0.1666, allocations: 149.5 kB / 0.5459 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1667, allocations: 51.41 kB / 0.5459 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.1669, allocations: 202.2 kB / 0.5461 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1669, allocations: 25.7 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.167, allocations: 124 kB / 0.5463 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1671, allocations: 27.75 kB / 0.5463 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.1671, allocations: 29.7 kB / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1673, allocations: 326.8 kB / 0.5466 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.1674, allocations: 27.98 kB / 0.5467 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1676, allocations: 72.39 kB / 0.5467 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1678, allocations: 104.1 kB / 0.5468 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1678, allocations: 0 / 0.5468 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002875/0.1681, allocations: 137.8 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1681, allocations: 4 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1681, allocations: 4.125 kB / 0.547 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1682, allocations: 4 kB / 0.547 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1683, allocations: 24.08 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1683, allocations: 3.938 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.1684, allocations: 19.83 kB / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1684, allocations: 8 kB / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001384/0.1685, allocations: 132 kB / 0.5471 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1686, allocations: 11.91 kB / 0.5472 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1686, allocations: 17.41 kB / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1686, allocations: 4 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1686, allocations: 0 / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1686, allocations: 7.922 kB / 0.5472 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1689, allocations: 205.6 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1689, allocations: 4 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.169, allocations: 12 kB / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.169, allocations: 0 / 0.5474 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.169, allocations: 7.984 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.169, allocations: 4 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.169, allocations: 0 / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.1695, allocations: 188.8 kB / 0.5476 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1695, allocations: 92.98 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1696, allocations: 0 / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1696, allocations: 7.984 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.1697, allocations: 15.92 kB / 0.5477 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1697, allocations: 4 kB / 0.5477 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1699, allocations: 148.5 kB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.1699, allocations: 0 / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1701, allocations: 27.94 kB / 0.5479 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001569/0.1717, allocations: 413.4 kB / 0.5483 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.172, allocations: 83.83 kB / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.172, allocations: 256 / 0.5483 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1721, allocations: 39.98 kB / 0.5484 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1724, allocations: 39.7 kB / 0.5484 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.173, allocations: 289 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.1734, allocations: 0.7161 MB / 0.5494 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.1735, allocations: 23.42 kB / 0.5494 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1735, allocations: 0 / 0.5494 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004788/0.1783, allocations: 2.209 MB / 0.5516 GB, free: 8.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.021577654057182]