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.00169/0.00169, allocations: 111.8 kB / 19.12 MB, free: 3.945 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.002035/0.002035, allocations: 212.9 kB / 22.08 MB, free: 0.9922 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.445/1.445, allocations: 227.5 MB / 252.3 MB, free: 64 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.2502/0.2502, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.002349/0.002349, allocations: 86.94 kB / 490.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 62.45 MB / 0.5403 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003078/0.1272, allocations: 1.857 MB / 0.5422 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1295, allocations: 1.399 MB / 0.5435 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.1297, allocations: 7.938 kB / 0.5435 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1298, allocations: 31.72 kB / 0.5436 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.1299, allocations: 31.66 kB / 0.5436 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1316, allocations: 0.569 MB / 0.5442 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.132, allocations: 291.2 kB / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1321, allocations: 44.34 kB / 0.5445 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1324, allocations: 119.5 kB / 0.5446 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1326, allocations: 167.5 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.1327, allocations: 20 kB / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1339, allocations: 0.8189 MB / 0.5456 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1341, allocations: 115.7 kB / 0.5457 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1343, allocations: 143.1 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1357, allocations: 1.083 MB / 0.5469 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1357, allocations: 0 / 0.5469 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1357, allocations: 0 / 0.5469 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1357, allocations: 0 / 0.5469 GB, free: 13.53 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.001409/0.1371, allocations: 0.7391 MB / 0.5476 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1372, allocations: 12.03 kB / 0.5476 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1374, allocations: 40.69 kB / 0.5476 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1378, allocations: 288 kB / 0.5479 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1378, allocations: 16 kB / 0.5479 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.1379, allocations: 23.95 kB / 0.548 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.1384, allocations: 271.2 kB / 0.5482 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1384, allocations: 3.984 kB / 0.5482 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1385, allocations: 8 kB / 0.5482 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1385, allocations: 4 kB / 0.5482 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.1389, allocations: 219.8 kB / 0.5484 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.1402, allocations: 0.7501 MB / 0.5492 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.1407, allocations: 288.9 kB / 0.5494 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.141, allocations: 189.6 kB / 0.5496 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.141, allocations: 8 kB / 0.5496 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1411, allocations: 46.44 kB / 0.5497 GB, free: 10.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1411, allocations: 0 / 0.5497 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001069/0.1422, allocations: 0.5365 MB / 0.5502 GB, free: 9.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.1423, allocations: 81.11 kB / 0.5503 GB, free: 9.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.1427, allocations: 352.6 kB / 0.5506 GB, free: 9.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1427, allocations: 33.7 kB / 0.5506 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1428, allocations: 144.9 kB / 0.5508 GB, free: 9.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.1429, allocations: 103.1 kB / 0.5509 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1431, allocations: 121.4 kB / 0.551 GB, free: 9.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1433, allocations: 350.8 kB / 0.5513 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.1437, allocations: 288.8 kB / 0.5516 GB, free: 8.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.1442, allocations: 343.5 kB / 0.5519 GB, free: 8.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.148, allocations: 1.758 MB / 0.5537 GB, free: 6.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.148, allocations: 0 / 0.5537 GB, free: 6.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001218/0.1492, allocations: 0.7763 MB / 0.5544 GB, free: 5.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1492, allocations: 4 kB / 0.5544 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.1493, allocations: 8 kB / 0.5544 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1493, allocations: 7.922 kB / 0.5544 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.1498, allocations: 95.88 kB / 0.5545 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1498, allocations: 4 kB / 0.5545 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.15, allocations: 75.28 kB / 0.5546 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1501, allocations: 12 kB / 0.5546 GB, free: 5.332 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.000281/0.1504, allocations: 180.8 kB / 0.5548 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.1504, allocations: 23.81 kB / 0.5548 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1506, allocations: 42.66 kB / 0.5548 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1506, allocations: 7.938 kB / 0.5549 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1506, allocations: 0 / 0.5549 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1506, allocations: 3.984 kB / 0.5549 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.1511, allocations: 345.3 kB / 0.5552 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1511, allocations: 0 / 0.5552 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.1514, allocations: 55.91 kB / 0.5552 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1515, allocations: 0 / 0.5552 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.1515, allocations: 19.92 kB / 0.5553 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1515, allocations: 0 / 0.5553 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1515, allocations: 0 / 0.5553 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1526, allocations: 0.7493 MB / 0.556 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.1527, allocations: 109 kB / 0.5561 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1528, allocations: 19.92 kB / 0.5561 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.153, allocations: 8 kB / 0.5561 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.1531, allocations: 19.91 kB / 0.5561 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.1531, allocations: 8 kB / 0.5561 GB, free: 3.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.1533, allocations: 219 kB / 0.5564 GB, free: 3.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1533, allocations: 8 kB / 0.5564 GB, free: 3.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.1542, allocations: 255.7 kB / 0.5566 GB, free: 3.184 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.0005438/0.1547, allocations: 242.9 kB / 0.5568 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1558, allocations: 0.7404 MB / 0.5576 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1558, allocations: 4 kB / 0.5576 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.1562, allocations: 195.8 kB / 0.5578 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1567, allocations: 48.94 kB / 0.5578 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1581, allocations: 0.9825 MB / 0.5588 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.1586, allocations: 0.8106 MB / 0.5595 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1587, allocations: 27.44 kB / 0.5596 GB, free: 48 kB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1587, allocations: 3.938 kB / 0.5596 GB, free: 44 kB / 414.1 MB Notification: Performance of Templates: time 0.01049/0.1692, allocations: 6.452 MB / 0.5659 GB, free: 9.66 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] [Calling os._exit(0), Time elapsed: 10.459831122076139] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.17629746301099658 0.18930940200000002 0.051111025000000004 Calling exit ...