Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001863/0.001863, allocations: 122.6 kB / 18.46 MB, free: 4.594 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.002192/0.002193, allocations: 203.3 kB / 21.4 MB, free: 1.648 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.556/1.556, allocations: 227.4 MB / 251.6 MB, free: 260 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.281/0.281, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 84.22 kB / 490.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1569, allocations: 62.45 MB / 0.5398 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003559/0.1605, allocations: 1.69 MB / 0.5414 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1624, allocations: 1.013 MB / 0.5424 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.1624, allocations: 0 / 0.5424 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1628, allocations: 51.75 kB / 0.5424 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1632, allocations: 99.59 kB / 0.5425 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1634, allocations: 75.67 kB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1635, allocations: 95.7 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.1636, allocations: 8.219 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1637, allocations: 43.78 kB / 0.5428 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.1638, allocations: 23.86 kB / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1638, allocations: 4 kB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1639, allocations: 35.97 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.164, allocations: 35.8 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1641, allocations: 35.69 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1643, allocations: 123.4 kB / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1643, allocations: 0 / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1643, allocations: 0 / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1644, allocations: 0 / 0.543 GB, free: 0.8203 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.0006528/0.165, allocations: 442.5 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1651, allocations: 12.03 kB / 0.5434 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.1651, allocations: 12.89 kB / 0.5434 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1655, allocations: 225.1 kB / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1655, allocations: 384 / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1655, allocations: 8.312 kB / 0.5437 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1657, allocations: 53.97 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1657, allocations: 3.938 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1657, allocations: 4 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1657, allocations: 0 / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/0.1658, allocations: 11.98 kB / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.1661, allocations: 193.7 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1663, allocations: 58.56 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.1664, allocations: 20.84 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1664, allocations: 0 / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1666, allocations: 67.33 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1666, allocations: 4 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003136/0.1669, allocations: 97.58 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.167, allocations: 55.34 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.1673, allocations: 274.7 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1673, allocations: 33.69 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.1674, allocations: 116.1 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1674, allocations: 11.91 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.1675, allocations: 17.72 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1677, allocations: 330.8 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1677, allocations: 19.97 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.1678, allocations: 29.7 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/0.1679, allocations: 37.72 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1679, allocations: 0 / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001751/0.1681, allocations: 93.45 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1681, allocations: 8.031 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1681, allocations: 0 / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1681, allocations: 4.312 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.1682, allocations: 12 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1682, allocations: 3.938 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1683, allocations: 15.94 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1683, allocations: 0 / 0.5452 GB, free: 14.35 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.0001283/0.1684, allocations: 133.8 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1685, allocations: 19.84 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1685, allocations: 17 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1685, allocations: 4 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1686, allocations: 3.984 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1686, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1688, allocations: 193.6 kB / 0.5455 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1688, allocations: 0 / 0.5455 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.1688, allocations: 11.94 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1688, allocations: 0 / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1688, allocations: 4 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1688, allocations: 0 / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1688, allocations: 4 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.169, allocations: 109 kB / 0.5457 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1691, allocations: 96.89 kB / 0.5457 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1691, allocations: 8 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.1692, allocations: 3.984 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1692, allocations: 4 kB / 0.5458 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1692, allocations: 0 / 0.5458 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.1694, allocations: 208.6 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1694, allocations: 0 / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1696, allocations: 16 kB / 0.546 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.001468/0.1711, allocations: 409.8 kB / 0.5464 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1713, allocations: 47.92 kB / 0.5464 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1713, allocations: 3.938 kB / 0.5464 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.1714, allocations: 23.97 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1717, allocations: 28.05 kB / 0.5465 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.1722, allocations: 270.3 kB / 0.5467 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1726, allocations: 0.7158 MB / 0.5474 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.1726, allocations: 16.53 kB / 0.5474 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.1727, allocations: 15.44 kB / 0.5475 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1727, allocations: 0 / 0.5475 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.004763/0.1774, allocations: 1.539 MB / 0.549 GB, free: 10.47 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.356297965161502]