Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001694/0.001694, 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.002077/0.002077, 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.524/1.524, allocations: 227.4 MB / 251.6 MB, free: 272 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.2503/0.2503, allocations: 46.18 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 83.48 kB / 490.3 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1557, allocations: 62.46 MB / 0.5398 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00362/0.1594, allocations: 1.723 MB / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1612, allocations: 1.017 MB / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1613, allocations: 7.938 kB / 0.5425 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1616, allocations: 39.77 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1619, allocations: 99.53 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1621, allocations: 75.67 kB / 0.5427 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1624, allocations: 111.7 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1625, allocations: 12 kB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.1626, allocations: 43.78 kB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.1627, allocations: 35.78 kB / 0.5429 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1627, allocations: 4 kB / 0.5429 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1628, allocations: 43.98 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1629, allocations: 19.92 kB / 0.5429 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.1629, allocations: 39.73 kB / 0.543 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1631, allocations: 115.4 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1632, allocations: 4 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1632, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1632, allocations: 3.984 kB / 0.5431 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.000591/0.1638, allocations: 426.6 kB / 0.5435 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1638, allocations: 8.031 kB / 0.5435 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1639, allocations: 12.88 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1642, allocations: 216.8 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1642, allocations: 384 / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1642, allocations: 4.375 kB / 0.5437 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.1644, allocations: 65.92 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1644, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1645, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1645, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.1645, allocations: 19.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1649, allocations: 288.9 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1651, allocations: 62.61 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1652, allocations: 16.86 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1652, allocations: 0 / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1654, allocations: 67.39 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.486e-06/0.1654, allocations: 3.984 kB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005827/0.166, allocations: 185.3 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.166, allocations: 51.41 kB / 0.5444 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1663, allocations: 191.6 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1663, allocations: 29.7 kB / 0.5447 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.1664, allocations: 104.1 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1664, allocations: 23.84 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1665, allocations: 17.72 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1667, allocations: 330.8 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1667, allocations: 24.36 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.1668, allocations: 41.58 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1669, allocations: 61.66 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1669, allocations: 4 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.1671, allocations: 105.5 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1672, allocations: 8 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1672, allocations: 4.031 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1672, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.1673, allocations: 15.98 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1673, allocations: 4 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.1674, allocations: 4 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1674, allocations: 4 kB / 0.5454 GB, free: 14.17 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.0001199/0.1675, allocations: 131.5 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1675, allocations: 19.91 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.1676, allocations: 17.41 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1676, allocations: 0 / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1676, allocations: 0 / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1676, allocations: 0 / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1681, allocations: 403.2 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1681, allocations: 0 / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1681, allocations: 8 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1682, allocations: 0 / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1682, allocations: 4 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1682, allocations: 11.95 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1682, allocations: 0 / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1684, allocations: 200.5 kB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.1685, allocations: 89.02 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1686, allocations: 4 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.1686, allocations: 3.938 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.1687, allocations: 15.98 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1687, allocations: 4 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1688, allocations: 152.2 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1688, allocations: 0 / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1691, allocations: 20 kB / 0.5464 GB, free: 13 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.001723/0.1708, allocations: 470 kB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.171, allocations: 55.92 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.171, allocations: 0 / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1711, allocations: 27.98 kB / 0.5469 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.0003458/0.1715, allocations: 27.61 kB / 0.547 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.172, allocations: 238.7 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1724, allocations: 0.708 MB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.1725, allocations: 17.17 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1725, allocations: 15.44 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1725, allocations: 3.938 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.004993/0.1775, allocations: 1.743 MB / 0.5496 GB, free: 9.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.307996234856546]