Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63.89 kB / 0.4921 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1411, allocations: 66 MB / 0.5565 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003498/0.1446, allocations: 1.858 MB / 0.5583 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1472, allocations: 1.413 MB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1475, allocations: 7.938 kB / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1477, allocations: 35.72 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1479, allocations: 35.66 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1502, allocations: 0.565 MB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.1506, allocations: 291.2 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1508, allocations: 36.28 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.1511, allocations: 127.6 kB / 0.5608 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.1514, allocations: 175.5 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.1515, allocations: 24 kB / 0.561 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.1531, allocations: 0.9319 MB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1532, allocations: 119.6 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.1534, allocations: 139.2 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1549, allocations: 1.086 MB / 0.5632 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1549, allocations: 0 / 0.5632 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1549, allocations: 0 / 0.5632 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.155, allocations: 0 / 0.5632 GB, free: 14.48 MB / 430.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.001475/0.1564, allocations: 0.743 MB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1565, allocations: 12.03 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.1567, allocations: 40.69 kB / 0.564 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.1571, allocations: 284.1 kB / 0.5642 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1571, allocations: 16 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.1571, allocations: 23.95 kB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.1577, allocations: 267.2 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1577, allocations: 4 kB / 0.5645 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1577, allocations: 8 kB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1577, allocations: 4 kB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.1582, allocations: 223.8 kB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.1595, allocations: 0.7539 MB / 0.5655 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.16, allocations: 285 kB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1603, allocations: 193.5 kB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1604, allocations: 4 kB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1604, allocations: 38.5 kB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.013e-06/0.1604, allocations: 0 / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001072/0.1615, allocations: 0.5373 MB / 0.5665 GB, free: 10.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.1615, allocations: 77.11 kB / 0.5666 GB, free: 10.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1619, allocations: 356.6 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.162, allocations: 33.7 kB / 0.5669 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1621, allocations: 140.9 kB / 0.5671 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.1622, allocations: 119 kB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1623, allocations: 121.4 kB / 0.5673 GB, free: 10.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1625, allocations: 350.8 kB / 0.5676 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.163, allocations: 284.8 kB / 0.5679 GB, free: 9.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.1635, allocations: 339.5 kB / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/0.1673, allocations: 1.765 MB / 0.57 GB, free: 7.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1673, allocations: 0 / 0.57 GB, free: 7.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001227/0.1686, allocations: 0.765 MB / 0.5707 GB, free: 6.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1686, allocations: 9.875 kB / 0.5707 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.1686, allocations: 4 kB / 0.5707 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.1686, allocations: 7.938 kB / 0.5707 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.1691, allocations: 99.88 kB / 0.5708 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1691, allocations: 0 / 0.5708 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1694, allocations: 71.34 kB / 0.5709 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1694, allocations: 12 kB / 0.5709 GB, free: 6.301 MB / 430.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.000259/0.1697, allocations: 195.2 kB / 0.5711 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.1697, allocations: 27.81 kB / 0.5711 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1699, allocations: 42.66 kB / 0.5712 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1699, allocations: 0 / 0.5712 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1699, allocations: 0 / 0.5712 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1699, allocations: 7.984 kB / 0.5712 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.1703, allocations: 333.3 kB / 0.5715 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1703, allocations: 0 / 0.5715 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.1708, allocations: 55.91 kB / 0.5715 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1708, allocations: 8 kB / 0.5715 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.1708, allocations: 15.92 kB / 0.5716 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1708, allocations: 4 kB / 0.5716 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1708, allocations: 0 / 0.5716 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1719, allocations: 0.7445 MB / 0.5723 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.172, allocations: 113 kB / 0.5724 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.1721, allocations: 23.92 kB / 0.5724 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.1723, allocations: 8 kB / 0.5724 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.1724, allocations: 15.97 kB / 0.5724 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1724, allocations: 8 kB / 0.5725 GB, free: 4.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1726, allocations: 223 kB / 0.5727 GB, free: 4.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1726, allocations: 0 / 0.5727 GB, free: 4.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008424/0.1735, allocations: 251.7 kB / 0.5729 GB, free: 4.148 MB / 430.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.0005679/0.1741, allocations: 258.9 kB / 0.5732 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1751, allocations: 0.6654 MB / 0.5738 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1752, allocations: 3.938 kB / 0.5738 GB, free: 3.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.1755, allocations: 191.8 kB / 0.574 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.176, allocations: 40.95 kB / 0.574 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.1775, allocations: 0.9881 MB / 0.575 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.178, allocations: 0.8106 MB / 0.5758 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1781, allocations: 23.44 kB / 0.5758 GB, free: 1.086 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1781, allocations: 0 / 0.5758 GB, free: 1.086 MB / 430.1 MB Notification: Performance of Templates: time 0.01114/0.1892, allocations: 6.449 MB / 0.5821 GB, free: 10.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.788074752985267] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.19715543097117916 0.46379742700000004 0.30499797300000003 Calling exit ...