Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.001701/0.001701, allocations: 119.5 kB / 18.45 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.002201/0.002201, allocations: 201.8 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.614/1.614, allocations: 227.4 MB / 251.6 MB, free: 32 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.2441/0.2441, allocations: 46.17 MB / 351.1 MB, free: 14.24 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.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 81.69 kB / 490.2 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1617, allocations: 62.45 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003648/0.1654, allocations: 1.864 MB / 0.5415 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1679, allocations: 1.392 MB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.168, allocations: 11.88 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1682, allocations: 27.72 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.1683, allocations: 35.7 kB / 0.5429 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.17, allocations: 0.5728 MB / 0.5435 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1704, allocations: 283.3 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1706, allocations: 40.3 kB / 0.5438 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1709, allocations: 127.6 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1711, allocations: 171.5 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1712, allocations: 20 kB / 0.5441 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.1724, allocations: 0.8149 MB / 0.5449 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1726, allocations: 123.7 kB / 0.545 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1727, allocations: 135.1 kB / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.174, allocations: 1.075 MB / 0.5462 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.174, allocations: 0 / 0.5462 GB, free: 13.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.174, allocations: 0 / 0.5462 GB, free: 13.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.174, allocations: 0 / 0.5462 GB, free: 13.51 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00147/0.1755, allocations: 0.743 MB / 0.5469 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.1756, allocations: 12.03 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.1758, allocations: 40.69 kB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1763, allocations: 296 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1763, allocations: 19.98 kB / 0.5473 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.1764, allocations: 23.95 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.177, allocations: 271.1 kB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.177, allocations: 0 / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.177, allocations: 8 kB / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.177, allocations: 0 / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.1775, allocations: 227.8 kB / 0.5478 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1789, allocations: 0.7423 MB / 0.5485 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.1794, allocations: 288.9 kB / 0.5488 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.1797, allocations: 197.6 kB / 0.549 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1797, allocations: 4 kB / 0.549 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.1798, allocations: 38.5 kB / 0.549 GB, free: 10.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.1798, allocations: 4 kB / 0.549 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001073/0.1809, allocations: 0.5404 MB / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.1809, allocations: 89.09 kB / 0.5496 GB, free: 9.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1813, allocations: 352.5 kB / 0.55 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1814, allocations: 29.7 kB / 0.55 GB, free: 9.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1815, allocations: 144.9 kB / 0.5501 GB, free: 9.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.1816, allocations: 107.1 kB / 0.5502 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1818, allocations: 129.3 kB / 0.5503 GB, free: 9.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1819, allocations: 346.8 kB / 0.5507 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.1823, allocations: 292.8 kB / 0.551 GB, free: 8.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.1828, allocations: 335.5 kB / 0.5513 GB, free: 8.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.1864, allocations: 1.758 MB / 0.553 GB, free: 6.277 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1865, allocations: 7.938 kB / 0.553 GB, free: 6.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00112/0.1876, allocations: 0.766 MB / 0.5537 GB, free: 5.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1876, allocations: 4 kB / 0.5538 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/0.1876, allocations: 8 kB / 0.5538 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1877, allocations: 3.938 kB / 0.5538 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.1881, allocations: 99.86 kB / 0.5539 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1882, allocations: 4 kB / 0.5539 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1884, allocations: 67.3 kB / 0.5539 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.1884, allocations: 23.98 kB / 0.554 GB, free: 5.289 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002494/0.1887, allocations: 182.9 kB / 0.5541 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.1887, allocations: 23.81 kB / 0.5541 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1889, allocations: 46.64 kB / 0.5542 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1889, allocations: 8 kB / 0.5542 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1889, allocations: 0 / 0.5542 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1889, allocations: 3.938 kB / 0.5542 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1893, allocations: 337.3 kB / 0.5545 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1894, allocations: 0 / 0.5545 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.1897, allocations: 43.97 kB / 0.5546 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1897, allocations: 0 / 0.5546 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.1898, allocations: 23.92 kB / 0.5546 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1898, allocations: 0 / 0.5546 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1898, allocations: 3.938 kB / 0.5546 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1909, allocations: 0.7407 MB / 0.5553 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.191, allocations: 113 kB / 0.5554 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.191, allocations: 15.92 kB / 0.5554 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1912, allocations: 11.98 kB / 0.5555 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.1913, allocations: 19.97 kB / 0.5555 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1913, allocations: 12 kB / 0.5555 GB, free: 3.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.1916, allocations: 223 kB / 0.5557 GB, free: 3.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1916, allocations: 0 / 0.5557 GB, free: 3.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009216/0.1925, allocations: 251.7 kB / 0.5559 GB, free: 3.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0005327/0.193, allocations: 258.8 kB / 0.5562 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1941, allocations: 0.7404 MB / 0.5569 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1941, allocations: 0 / 0.5569 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.1944, allocations: 191.8 kB / 0.5571 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.1949, allocations: 55.12 kB / 0.5571 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1964, allocations: 0.9324 MB / 0.5581 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.1969, allocations: 0.8067 MB / 0.5588 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1971, allocations: 70.19 kB / 0.5589 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1972, allocations: 23.44 kB / 0.5589 GB, free: 16 MB / 430.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1972, allocations: 0 / 0.5589 GB, free: 16 MB / 430.1 MB Notification: Performance of Templates: time 0.01245/0.2097, allocations: 6.565 MB / 0.5653 GB, free: 9.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.830226510763168]