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.001145/0.001145, 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.004108/0.004108, allocations: 160.5 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.825/0.825, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2242/0.2242, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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 2.204e-06/2.204e-06, allocations: 4 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.567e-05, allocations: 2.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.1471/0.1471, allocations: 1.806 MB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1483, allocations: 1.298 MB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.1484, allocations: 2.969 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1485, allocations: 28.33 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.1485, allocations: 40.41 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1496, allocations: 0.6793 MB / 447.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1497, allocations: 239.2 kB / 447.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.1498, allocations: 32.28 kB / 447.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.15, allocations: 135 kB / 447.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1501, allocations: 148.9 kB / 447.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.1501, allocations: 23 kB / 447.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009401/0.1511, allocations: 1.228 MB / 449.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.1511, allocations: 113.6 kB / 449.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1512, allocations: 86.45 kB / 449.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.1519, allocations: 1.208 MB / 450.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1519, allocations: 1.312 kB / 450.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1519, allocations: 3.938 kB / 450.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1519, allocations: 0 / 450.5 MB, free: 42.05 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.000691/0.1526, allocations: 0.6577 MB / 451.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1526, allocations: 12.78 kB / 451.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1528, allocations: 46.17 kB / 451.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.153, allocations: 220 kB / 451.4 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.153, allocations: 14.12 kB / 451.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.153, allocations: 32.73 kB / 451.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1533, allocations: 323.1 kB / 451.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1533, allocations: 7.375 kB / 451.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1533, allocations: 7.422 kB / 451.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1533, allocations: 2.938 kB / 451.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1535, allocations: 228 kB / 452 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1541, allocations: 0.639 MB / 452.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1543, allocations: 286.3 kB / 452.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1545, allocations: 189.7 kB / 453.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1545, allocations: 3.406 kB / 453.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.1545, allocations: 37.53 kB / 453.2 MB, free: 40.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.032e-06/0.1545, allocations: 3.938 kB / 453.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005396/0.155, allocations: 0.5374 MB / 453.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.1551, allocations: 79.98 kB / 453.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1552, allocations: 351.9 kB / 454.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1552, allocations: 32.11 kB / 454.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.1553, allocations: 145.6 kB / 454.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1553, allocations: 108.6 kB / 454.4 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.1554, allocations: 118.3 kB / 454.5 MB, free: 39.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.1554, allocations: 351.7 kB / 454.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1556, allocations: 283.4 kB / 455.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.1559, allocations: 341.7 kB / 455.5 MB, free: 39.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.1575, allocations: 1.753 MB / 457.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1575, allocations: 6.438 kB / 457.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005511/0.1581, allocations: 0.763 MB / 458 MB, free: 38.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1581, allocations: 9.859 kB / 458 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1581, allocations: 6.344 kB / 458 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1581, allocations: 0 / 458 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.1584, allocations: 97.91 kB / 458.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1584, allocations: 7.062 kB / 458.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.1584, allocations: 74.56 kB / 458.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1585, allocations: 10.44 kB / 458.2 MB, free: 38.28 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.0001203/0.1586, allocations: 183.4 kB / 458.4 MB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1586, allocations: 26.33 kB / 458.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.1587, allocations: 44.5 kB / 458.4 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1587, allocations: 0 / 458.4 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1587, allocations: 7.125 kB / 458.5 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1587, allocations: 0 / 458.5 MB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.1589, allocations: 244.4 kB / 458.7 MB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1589, allocations: 1.312 kB / 458.7 MB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.159, allocations: 48.77 kB / 458.7 MB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.159, allocations: 0 / 458.7 MB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.159, allocations: 13.77 kB / 458.8 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1591, allocations: 3.281 kB / 458.8 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1591, allocations: 0 / 458.8 MB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.1596, allocations: 0.7576 MB / 459.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1596, allocations: 35.73 kB / 459.5 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1596, allocations: 13.22 kB / 459.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1597, allocations: 7.156 kB / 459.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1597, allocations: 15.97 kB / 459.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1598, allocations: 10.25 kB / 459.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.99e-05/0.1599, allocations: 225.4 kB / 459.8 MB, free: 37.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1599, allocations: 0 / 459.8 MB, free: 37.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.1603, allocations: 255.6 kB / 460.1 MB, free: 37.31 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.0003054/0.1606, allocations: 283 kB / 460.3 MB, free: 37.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.1611, allocations: 0.662 MB / 461 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1611, allocations: 0 / 461 MB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1612, allocations: 187.1 kB / 461.2 MB, free: 36.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1615, allocations: 44.22 kB / 461.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1622, allocations: 0.913 MB / 462.1 MB, free: 36.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.1623, allocations: 197.1 kB / 462.3 MB, free: 36.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.1624, allocations: 21.44 kB / 462.4 MB, free: 36.21 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1624, allocations: 2.969 kB / 462.4 MB, free: 36.21 MB / 410.7 MB Notification: Performance of Templates: time 0.004692/0.1671, allocations: 6.768 MB / 469.1 MB, free: 35.82 MB / 410.7 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: 6.527721370570362] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.17167751863598824 0.17853485000000002 0.024993417 Calling exit ...