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.0008964/0.0008964, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008888/0.0008888, allocations: 170 kB / 23.95 MB, free: 0.6094 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.886/0.886, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.232/0.232, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.599e-05, allocations: 4.391 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.1632/0.1632, allocations: 1.807 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1647, allocations: 1.298 MB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1648, allocations: 6.875 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.165, allocations: 33.44 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.165, allocations: 31.31 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1662, allocations: 0.6821 MB / 446 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1664, allocations: 241.6 kB / 446.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1665, allocations: 28.52 kB / 446.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1667, allocations: 135.6 kB / 446.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1668, allocations: 157.1 kB / 446.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.1669, allocations: 24.91 kB / 446.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.1678, allocations: 1.218 MB / 447.8 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.1679, allocations: 116.8 kB / 447.9 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.168, allocations: 86.84 kB / 448 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008182/0.1688, allocations: 1.206 MB / 449.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1688, allocations: 3.328 kB / 449.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1688, allocations: 0 / 449.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1688, allocations: 0 / 449.2 MB, free: 42.07 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.0007707/0.1696, allocations: 0.6658 MB / 449.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1696, allocations: 8.469 kB / 449.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.1697, allocations: 47.72 kB / 449.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.1698, allocations: 40.92 kB / 450 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.17, allocations: 219.1 kB / 450.2 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.17, allocations: 16.66 kB / 450.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.1701, allocations: 26.08 kB / 450.2 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.1704, allocations: 333.5 kB / 450.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1704, allocations: 0 / 450.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1704, allocations: 7.031 kB / 450.6 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1704, allocations: 2.969 kB / 450.6 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.1706, allocations: 227.4 kB / 450.8 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.1713, allocations: 0.6722 MB / 451.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1715, allocations: 279.2 kB / 451.7 MB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1717, allocations: 194.1 kB / 451.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1717, allocations: 2.812 kB / 451.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.1717, allocations: 40.45 kB / 452 MB, free: 40.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.173e-06/0.1717, allocations: 0 / 452 MB, free: 40.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005619/0.1723, allocations: 0.5382 MB / 452.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.1723, allocations: 86.08 kB / 452.6 MB, free: 40.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1725, allocations: 352.1 kB / 452.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1725, allocations: 29.7 kB / 453 MB, free: 39.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.1726, allocations: 145.2 kB / 453.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1726, allocations: 104.5 kB / 453.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.1727, allocations: 116.9 kB / 453.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.1727, allocations: 349.1 kB / 453.7 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1729, allocations: 285.9 kB / 453.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1732, allocations: 347.6 kB / 454.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.1749, allocations: 1.751 MB / 456 MB, free: 38.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1749, allocations: 6.281 kB / 456 MB, free: 38.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0005861/0.1755, allocations: 0.7667 MB / 456.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1755, allocations: 3.156 kB / 456.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1755, allocations: 9.562 kB / 456.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1755, allocations: 3.188 kB / 456.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.1758, allocations: 97.69 kB / 456.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1758, allocations: 3.938 kB / 456.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.1759, allocations: 70.94 kB / 457 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1759, allocations: 14.38 kB / 457 MB, free: 38.21 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.0001417/0.176, allocations: 189.5 kB / 457.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1761, allocations: 25.44 kB / 457.2 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.1761, allocations: 41.05 kB / 457.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1761, allocations: 7.312 kB / 457.3 MB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1761, allocations: 3.938 kB / 457.3 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1761, allocations: 3.156 kB / 457.3 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1763, allocations: 279.7 kB / 457.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1763, allocations: 0 / 457.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.1765, allocations: 44.08 kB / 457.6 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1765, allocations: 6.75 kB / 457.6 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1765, allocations: 13.31 kB / 457.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1766, allocations: 2.969 kB / 457.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1766, allocations: 5.438 kB / 457.6 MB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.1771, allocations: 0.7556 MB / 458.4 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.1772, allocations: 28.8 kB / 458.4 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1772, allocations: 16.8 kB / 458.4 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1773, allocations: 11 kB / 458.4 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1773, allocations: 16.53 kB / 458.4 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1774, allocations: 13 kB / 458.4 MB, free: 37.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1775, allocations: 221.2 kB / 458.7 MB, free: 37.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1775, allocations: 0 / 458.7 MB, free: 37.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005462/0.178, allocations: 249.3 kB / 458.9 MB, free: 37.2 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.0009478/0.179, allocations: 1.458 MB / 460.4 MB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1795, allocations: 0.6655 MB / 461 MB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1795, allocations: 2.062 kB / 461 MB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1797, allocations: 195.1 kB / 461.2 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.18, allocations: 41.36 kB / 461.3 MB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.183, allocations: 4.472 MB / 465.7 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.1831, allocations: 205.1 kB / 465.9 MB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1832, allocations: 67.69 kB / 466 MB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1833, allocations: 107.4 kB / 466.1 MB, free: 33.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1833, allocations: 0 / 466.1 MB, free: 33.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.2082, allocations: 10.97 MB / 477.1 MB, free: 31.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/7.017, allocations: 13.59 kB / 477.1 MB, free: 31.9 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.913243025541306] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 7.102818003855646 7.115099747 6.944458165 Calling exit ...