Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008455/0.0008455, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003266/0.003266, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8674/0.8674, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.969e-05, allocations: 6.844 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002107/0.002127, allocations: 1.809 MB / 442.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003464, allocations: 1.298 MB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.003534, allocations: 3.938 kB / 443.9 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.00366, allocations: 35.72 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.003707, allocations: 35.66 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1469/0.1506, allocations: 0.67 MB / 444.7 MB, free: 44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.151, allocations: 236.2 kB / 444.9 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1511, allocations: 29.97 kB / 444.9 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1513, allocations: 152.2 kB / 445.1 MB, free: 43.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1514, allocations: 145.6 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1515, allocations: 24.31 kB / 445.3 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1527, allocations: 1.211 MB / 446.5 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1528, allocations: 120.4 kB / 446.6 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1529, allocations: 93.81 kB / 446.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007965/0.1537, allocations: 1.201 MB / 447.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1537, allocations: 3.422 kB / 447.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1537, allocations: 0 / 447.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1537, allocations: 0 / 447.9 MB, free: 43.89 MB / 410.7 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.0007677/0.1544, allocations: 0.6648 MB / 448.5 MB, free: 43.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1545, allocations: 9 kB / 448.6 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1546, allocations: 43.86 kB / 448.6 MB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1548, allocations: 217.7 kB / 448.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1548, allocations: 14.16 kB / 448.8 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1549, allocations: 27.91 kB / 448.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1552, allocations: 327.2 kB / 449.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1552, allocations: 7.875 kB / 449.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1552, allocations: 6 kB / 449.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1552, allocations: 16.47 kB / 449.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.1555, allocations: 221.1 kB / 449.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1561, allocations: 0.6361 MB / 450.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1564, allocations: 285 kB / 450.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1566, allocations: 187.1 kB / 450.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1566, allocations: 4.469 kB / 450.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.1566, allocations: 39.94 kB / 450.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.1566, allocations: 0 / 450.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005892/0.1572, allocations: 0.5356 MB / 451.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1572, allocations: 83.95 kB / 451.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1574, allocations: 362.7 kB / 451.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1574, allocations: 29.7 kB / 451.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.1575, allocations: 142.6 kB / 451.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1575, allocations: 103.6 kB / 451.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.1576, allocations: 119.5 kB / 451.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.1576, allocations: 345.3 kB / 452.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1579, allocations: 289.5 kB / 452.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1581, allocations: 348.9 kB / 452.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.1599, allocations: 1.753 MB / 454.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1599, allocations: 0 / 454.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006706/0.1605, allocations: 0.7666 MB / 455.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1606, allocations: 6.406 kB / 455.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.1606, allocations: 13.81 kB / 455.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1606, allocations: 0 / 455.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1609, allocations: 100.9 kB / 455.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1609, allocations: 0 / 455.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.161, allocations: 70.94 kB / 455.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.161, allocations: 13.38 kB / 455.6 MB, free: 40.4 MB / 410.7 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.0001864/0.1612, allocations: 197 kB / 455.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1612, allocations: 25.25 kB / 455.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.1613, allocations: 41.38 kB / 455.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1613, allocations: 4.156 kB / 455.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1613, allocations: 0 / 455.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1613, allocations: 0 / 455.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1615, allocations: 246.1 kB / 456.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1615, allocations: 0 / 456.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.1617, allocations: 54.36 kB / 456.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1617, allocations: 1.594 kB / 456.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1617, allocations: 17.84 kB / 456.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1617, allocations: 6.641 kB / 456.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1617, allocations: 0 / 456.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.1623, allocations: 0.7488 MB / 456.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.1623, allocations: 29.52 kB / 457 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1624, allocations: 13.47 kB / 457 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1625, allocations: 10.47 kB / 457 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1625, allocations: 23.62 kB / 457 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1625, allocations: 9.594 kB / 457 MB, free: 39.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1627, allocations: 222.8 kB / 457.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1627, allocations: 0 / 457.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.1631, allocations: 257.6 kB / 457.5 MB, free: 39.44 MB / 410.7 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.0003236/0.1634, allocations: 280.2 kB / 457.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.164, allocations: 0.6655 MB / 458.4 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.164, allocations: 0 / 458.4 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1642, allocations: 192.5 kB / 458.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.1644, allocations: 39.12 kB / 458.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.1652, allocations: 0.8932 MB / 459.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1654, allocations: 199.6 kB / 459.7 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.1654, allocations: 24.06 kB / 459.8 MB, free: 38.39 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1654, allocations: 0 / 459.8 MB, free: 38.39 MB / 410.7 MB Notification: Performance of Templates: time 0.005327/0.1708, allocations: 6.774 MB / 466.5 MB, free: 37.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.861200173385441] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.17571346275508404 0.183105183 0.027668396 Calling exit ...