Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.00169, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.1 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 76.11 kB / 418.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1247, allocations: 62.43 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003534/0.1283, allocations: 1.869 MB / 482.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1307, allocations: 1.396 MB / 483.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1309, allocations: 0 / 483.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1311, allocations: 31.72 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1312, allocations: 35.66 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1332, allocations: 0.5689 MB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.1336, allocations: 283.3 kB / 484.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1337, allocations: 44.3 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.134, allocations: 119.6 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.1343, allocations: 175.4 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.1344, allocations: 24 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1356, allocations: 0.7604 MB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.1357, allocations: 127.6 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1359, allocations: 135.2 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.1373, allocations: 1.08 MB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1373, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1373, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1374, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.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.001506/0.1389, allocations: 0.7283 MB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1389, allocations: 8.031 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.1391, allocations: 40.55 kB / 488.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1395, allocations: 288 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1395, allocations: 15.94 kB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.1396, allocations: 31.89 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.1401, allocations: 267.2 kB / 488.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1401, allocations: 0 / 488.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1401, allocations: 8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1401, allocations: 0 / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.1406, allocations: 219.8 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1419, allocations: 0.7616 MB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.1424, allocations: 285 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1427, allocations: 193.6 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1427, allocations: 11.92 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1427, allocations: 38.5 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.1428, allocations: 0 / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.00102/0.1438, allocations: 0.5364 MB / 490.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1438, allocations: 81.11 kB / 490.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.1442, allocations: 352.5 kB / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1442, allocations: 37.7 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.1443, allocations: 132.8 kB / 491.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.1444, allocations: 98.56 kB / 491.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.1446, allocations: 117.7 kB / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1448, allocations: 354.8 kB / 491.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.1452, allocations: 288.8 kB / 492.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.1457, allocations: 335.5 kB / 492.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.1491, allocations: 1.773 MB / 494.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1491, allocations: 0 / 494.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001048/0.1502, allocations: 0.7726 MB / 495 MB, free: 6.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1502, allocations: 4 kB / 495 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.1502, allocations: 8 kB / 495 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1502, allocations: 0 / 495 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.1507, allocations: 95.88 kB / 495.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1507, allocations: 7.984 kB / 495.1 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.151, allocations: 63.12 kB / 495.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.151, allocations: 15.94 kB / 495.2 MB, free: 6.453 MB / 366.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.000262/0.1513, allocations: 184.3 kB / 495.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.1514, allocations: 27.56 kB / 495.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.1515, allocations: 38.72 kB / 495.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1515, allocations: 7.984 kB / 495.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1515, allocations: 0 / 495.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1515, allocations: 4 kB / 495.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.1519, allocations: 341.3 kB / 495.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1519, allocations: 7.938 kB / 495.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.1523, allocations: 55.84 kB / 495.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1523, allocations: 0 / 495.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1523, allocations: 15.98 kB / 495.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1523, allocations: 0 / 495.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1523, allocations: 0 / 495.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.1533, allocations: 0.7474 MB / 496.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.1534, allocations: 108.8 kB / 496.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.1535, allocations: 15.98 kB / 496.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1537, allocations: 8 kB / 496.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.1538, allocations: 19.91 kB / 496.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1538, allocations: 12 kB / 496.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.154, allocations: 223 kB / 497 MB, free: 4.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.154, allocations: 0 / 497 MB, free: 4.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000823/0.1549, allocations: 251.9 kB / 497.2 MB, free: 4.32 MB / 366.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.0006637/0.1555, allocations: 248 kB / 497.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009964/0.1565, allocations: 0.7483 MB / 498.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1566, allocations: 0 / 498.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.1569, allocations: 200.6 kB / 498.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1574, allocations: 48.98 kB / 498.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1587, allocations: 0.9711 MB / 499.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1591, allocations: 0.8067 MB / 0.4885 GB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1592, allocations: 23.44 kB / 0.4886 GB, free: 1.188 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1593, allocations: 3.938 kB / 0.4886 GB, free: 1.184 MB / 366.1 MB Notification: Performance of Templates: time 0.01067/0.1699, allocations: 6.457 MB / 0.4949 GB, free: 10.8 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)