Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001599/0.001599, 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.00189/0.00189, 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.585/1.585, allocations: 227.4 MB / 251.6 MB, free: 15.91 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.2789/0.2789, allocations: 46.16 MB / 351.1 MB, free: 14.36 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 75.78 kB / 490.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1588, allocations: 62.46 MB / 0.5397 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003797/0.1627, allocations: 1.944 MB / 0.5416 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1647, allocations: 1.055 MB / 0.5427 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1649, allocations: 0 / 0.5427 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1652, allocations: 47.72 kB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1656, allocations: 99.47 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1658, allocations: 99.64 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1661, allocations: 139.5 kB / 0.543 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1662, allocations: 45.45 kB / 0.5431 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1663, allocations: 55.72 kB / 0.5431 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1664, allocations: 43.72 kB / 0.5432 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1665, allocations: 8 kB / 0.5432 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1666, allocations: 55.91 kB / 0.5432 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1667, allocations: 19.92 kB / 0.5433 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.1667, allocations: 55.61 kB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1671, allocations: 155.4 kB / 0.5435 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1671, allocations: 0 / 0.5435 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1671, allocations: 0 / 0.5435 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1671, allocations: 4 kB / 0.5435 GB, free: 368 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.000878/0.168, allocations: 492 kB / 0.5439 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.168, allocations: 12.03 kB / 0.5439 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.1681, allocations: 16.83 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1685, allocations: 232.9 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1685, allocations: 8.375 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1686, allocations: 8.375 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1689, allocations: 117.9 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1689, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1689, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1689, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1691, allocations: 51.91 kB / 0.5444 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.1698, allocations: 0.501 MB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1702, allocations: 94.53 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1703, allocations: 40.84 kB / 0.545 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1703, allocations: 3.984 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1705, allocations: 87.31 kB / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1705, allocations: 0 / 0.5451 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004365/0.171, allocations: 141.5 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1711, allocations: 59.41 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1713, allocations: 198.2 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1714, allocations: 29.7 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1715, allocations: 124 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.1716, allocations: 27.8 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.1717, allocations: 33.64 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1718, allocations: 322.8 kB / 0.546 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1719, allocations: 27.98 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1721, allocations: 76.39 kB / 0.5461 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1723, allocations: 96.2 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1723, allocations: 0 / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003814/0.1727, allocations: 145.7 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1727, allocations: 4 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1727, allocations: 3.984 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1727, allocations: 4 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.1728, allocations: 16 kB / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1729, allocations: 8.109 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1729, allocations: 19.83 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.173, allocations: 8 kB / 0.5463 GB, free: 13.12 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.0001253/0.1731, allocations: 124 kB / 0.5465 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1731, allocations: 23.89 kB / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1732, allocations: 13.41 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1732, allocations: 4 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1732, allocations: 0 / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1732, allocations: 3.938 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1734, allocations: 213.6 kB / 0.5467 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1734, allocations: 4 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.1735, allocations: 12 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1735, allocations: 3.984 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1735, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1735, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1736, allocations: 3.984 kB / 0.5467 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.174, allocations: 192.8 kB / 0.5469 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.174, allocations: 92.98 kB / 0.547 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1741, allocations: 4 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.1741, allocations: 7.984 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1742, allocations: 11.94 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1742, allocations: 7.922 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1744, allocations: 144.4 kB / 0.5472 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1744, allocations: 0 / 0.5472 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1746, allocations: 24 kB / 0.5472 GB, free: 12.15 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.001535/0.1761, allocations: 419 kB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1764, allocations: 79.89 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1764, allocations: 0 / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1765, allocations: 35.92 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1769, allocations: 39.91 kB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.1774, allocations: 267.3 kB / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.1779, allocations: 0.7123 MB / 0.5487 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.1779, allocations: 17.42 kB / 0.5487 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.178, allocations: 19.44 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.178, allocations: 0 / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.005715/0.1837, allocations: 1.908 MB / 0.5506 GB, free: 8.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.4438691306859255]