Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001318/0.001318, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001318/0.001318, allocations: 209 kB / 21.4 MB, free: 1.645 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.511/1.511, allocations: 227.4 MB / 251.6 MB, free: 56 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.2314/0.2314, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 83.3 kB / 490.3 MB, free: 27.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 62.45 MB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004802/0.1514, allocations: 1.922 MB / 0.5417 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.1545, allocations: 1.123 MB / 0.5428 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.1548, allocations: 7.875 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.1556, allocations: 259.3 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008564/0.1565, allocations: 239.2 kB / 0.5432 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.157, allocations: 111.6 kB / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000591/0.1576, allocations: 267.3 kB / 0.5436 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1578, allocations: 37.53 kB / 0.5436 GB, free: 172 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.1582, allocations: 131.5 kB / 0.5438 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.1586, allocations: 187.5 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.1586, allocations: 8 kB / 0.5439 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1588, allocations: 59.98 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.159, allocations: 71.69 kB / 0.5441 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1591, allocations: 95.23 kB / 0.5442 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.1596, allocations: 254.7 kB / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1596, allocations: 0 / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1597, allocations: 4 kB / 0.5444 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1597, allocations: 0 / 0.5444 GB, free: 15.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001168/0.1608, allocations: 0.5949 MB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1609, allocations: 8.031 kB / 0.545 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.161, allocations: 32.75 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.1617, allocations: 298.6 kB / 0.5453 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1617, allocations: 16.25 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1617, allocations: 4.375 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1621, allocations: 116.2 kB / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1621, allocations: 0 / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.1621, allocations: 12 kB / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1621, allocations: 0 / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1623, allocations: 39.97 kB / 0.5455 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.1631, allocations: 492.7 kB / 0.546 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.1636, allocations: 121.2 kB / 0.5461 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1637, allocations: 41.83 kB / 0.5461 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1637, allocations: 8 kB / 0.5461 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.164, allocations: 129.1 kB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.164, allocations: 0 / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001471/0.1655, allocations: 0.513 MB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.1656, allocations: 81.11 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.1662, allocations: 0.4899 MB / 0.5473 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1662, allocations: 33.7 kB / 0.5473 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1664, allocations: 172.4 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.1664, allocations: 67.44 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.1665, allocations: 41.7 kB / 0.5476 GB, free: 11.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1667, allocations: 350.8 kB / 0.5479 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1668, allocations: 59.97 kB / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.167, allocations: 95.28 kB / 0.5481 GB, free: 11.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1673, allocations: 159.3 kB / 0.5482 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1673, allocations: 0 / 0.5482 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004167/0.1677, allocations: 241.5 kB / 0.5485 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1678, allocations: 4 kB / 0.5485 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1678, allocations: 0 / 0.5485 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1678, allocations: 7.938 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.168, allocations: 43.91 kB / 0.5485 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.168, allocations: 4 kB / 0.5485 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/0.1681, allocations: 8 kB / 0.5485 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.1681, allocations: 11.94 kB / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001784/0.1683, allocations: 185.8 kB / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.1683, allocations: 39.75 kB / 0.5488 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.1684, allocations: 42.83 kB / 0.5488 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.1684, allocations: 7.984 kB / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1685, allocations: 0 / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1685, allocations: 0 / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.1694, allocations: 0.7429 MB / 0.5495 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.1695, allocations: 4 kB / 0.5495 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.1695, allocations: 27.94 kB / 0.5496 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1696, allocations: 3.984 kB / 0.5496 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1696, allocations: 8 kB / 0.5496 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1696, allocations: 4 kB / 0.5496 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1696, allocations: 0 / 0.5496 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.1701, allocations: 436.7 kB / 0.55 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.1702, allocations: 104.9 kB / 0.5501 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1703, allocations: 12 kB / 0.5501 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1704, allocations: 15.98 kB / 0.5501 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.1705, allocations: 23.86 kB / 0.5501 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.1706, allocations: 11.98 kB / 0.5502 GB, free: 9.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004207/0.171, allocations: 375.1 kB / 0.5505 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.171, allocations: 0 / 0.5505 GB, free: 8.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.1714, allocations: 47.94 kB / 0.5506 GB, free: 8.652 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001973/0.1734, allocations: 0.5044 MB / 0.5511 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.1738, allocations: 155.8 kB / 0.5512 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1738, allocations: 0 / 0.5512 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.174, allocations: 84.03 kB / 0.5513 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1746, allocations: 63.31 kB / 0.5513 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1756, allocations: 0.6014 MB / 0.5519 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.1761, allocations: 0.7908 MB / 0.5527 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1762, allocations: 45.91 kB / 0.5527 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.1763, allocations: 27.44 kB / 0.5528 GB, free: 6.508 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1763, allocations: 4 kB / 0.5528 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Templates: time 0.007874/0.1841, allocations: 3.205 MB / 0.5559 GB, free: 3.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.110366610810161]