Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001764/0.001764, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.002189/0.002189, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.476/1.476, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.89 MB / 358.1 MB, free: 10.51 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 84.28 kB / 0.4924 GB, free: 26.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.137, allocations: 65.98 MB / 0.5568 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00346/0.1404, allocations: 1.871 MB / 0.5586 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.143, allocations: 1.409 MB / 0.56 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1431, allocations: 8 kB / 0.56 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1433, allocations: 35.66 kB / 0.56 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.1434, allocations: 31.72 kB / 0.5601 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1452, allocations: 0.5689 MB / 0.5606 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.1456, allocations: 287.3 kB / 0.5609 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1458, allocations: 36.28 kB / 0.5609 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.146, allocations: 119.6 kB / 0.561 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1463, allocations: 175.5 kB / 0.5612 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.1464, allocations: 24 kB / 0.5612 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.148, allocations: 0.9319 MB / 0.5621 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1481, allocations: 123.6 kB / 0.5623 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.1484, allocations: 151.1 kB / 0.5624 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1499, allocations: 1.079 MB / 0.5635 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.15, allocations: 0 / 0.5635 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.15, allocations: 0 / 0.5635 GB, free: 1.766 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.15, allocations: 0 / 0.5635 GB, free: 1.766 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.001461/0.1514, allocations: 0.7391 MB / 0.5642 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1515, allocations: 8.031 kB / 0.5642 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.1517, allocations: 48.69 kB / 0.5642 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1521, allocations: 288 kB / 0.5645 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1521, allocations: 12 kB / 0.5645 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.1522, allocations: 31.89 kB / 0.5645 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.1527, allocations: 263.2 kB / 0.5648 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1527, allocations: 4 kB / 0.5648 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1527, allocations: 4 kB / 0.5648 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1527, allocations: 4 kB / 0.5648 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.1531, allocations: 227.8 kB / 0.565 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.1545, allocations: 0.754 MB / 0.5658 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.155, allocations: 293.1 kB / 0.566 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1553, allocations: 181.6 kB / 0.5662 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1553, allocations: 4 kB / 0.5662 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.1554, allocations: 46.48 kB / 0.5663 GB, free: 14.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1554, allocations: 0 / 0.5663 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001088/0.1564, allocations: 0.5332 MB / 0.5668 GB, free: 14.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1565, allocations: 81.11 kB / 0.5669 GB, free: 14.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.1569, allocations: 348.6 kB / 0.5672 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.1569, allocations: 37.7 kB / 0.5672 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1571, allocations: 140.9 kB / 0.5674 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1572, allocations: 107.1 kB / 0.5675 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1573, allocations: 125.4 kB / 0.5676 GB, free: 13.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1575, allocations: 346.8 kB / 0.5679 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.158, allocations: 284.9 kB / 0.5682 GB, free: 12.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.1585, allocations: 335.5 kB / 0.5685 GB, free: 12.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.1623, allocations: 1.77 MB / 0.5702 GB, free: 10.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1623, allocations: 4 kB / 0.5702 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001225/0.1635, allocations: 0.7644 MB / 0.571 GB, free: 9.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1635, allocations: 4 kB / 0.571 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.1636, allocations: 11.98 kB / 0.571 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.1636, allocations: 3.938 kB / 0.571 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.1641, allocations: 99.88 kB / 0.5711 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1641, allocations: 4 kB / 0.5711 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1643, allocations: 75.28 kB / 0.5712 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1644, allocations: 12 kB / 0.5712 GB, free: 9.578 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.0002775/0.1646, allocations: 184.2 kB / 0.5714 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.1647, allocations: 23.81 kB / 0.5714 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1649, allocations: 46.64 kB / 0.5714 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1649, allocations: 4 kB / 0.5714 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1649, allocations: 0 / 0.5714 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1649, allocations: 0 / 0.5714 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.1654, allocations: 345.3 kB / 0.5718 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1654, allocations: 0 / 0.5718 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.1658, allocations: 47.92 kB / 0.5718 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1658, allocations: 4 kB / 0.5718 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.1658, allocations: 27.86 kB / 0.5718 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1658, allocations: 0 / 0.5718 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1658, allocations: 0 / 0.5718 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1669, allocations: 0.7446 MB / 0.5726 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.167, allocations: 120.9 kB / 0.5727 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1671, allocations: 11.94 kB / 0.5727 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.1673, allocations: 19.92 kB / 0.5727 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.1674, allocations: 11.98 kB / 0.5727 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1674, allocations: 11.98 kB / 0.5727 GB, free: 7.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1676, allocations: 223 kB / 0.573 GB, free: 7.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1676, allocations: 0 / 0.573 GB, free: 7.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008839/0.1685, allocations: 247.7 kB / 0.5732 GB, free: 7.426 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.0007668/0.1693, allocations: 258.8 kB / 0.5734 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1704, allocations: 0.6625 MB / 0.5741 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1704, allocations: 0 / 0.5741 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.1708, allocations: 195.6 kB / 0.5743 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.1713, allocations: 56.42 kB / 0.5743 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1728, allocations: 0.9698 MB / 0.5753 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.1733, allocations: 0.8106 MB / 0.5761 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1734, allocations: 23.44 kB / 0.5761 GB, free: 4.367 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1734, allocations: 0 / 0.5761 GB, free: 4.367 MB / 430.1 MB Notification: Performance of Templates: time 0.01085/0.1843, allocations: 6.455 MB / 0.5824 GB, free: 13.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.476030926918611] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.19231498800218105 0.20678104200000003 0.053728864 Calling exit ...