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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 95.77 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 182 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 10.88 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 61.93 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002294/0.1453, allocations: 1.483 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1473, allocations: 1.276 MB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.329e-05/0.1474, allocations: 3.938 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1477, allocations: 23.86 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.1477, allocations: 31.88 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1492, allocations: 430.6 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.1495, allocations: 159.7 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1496, allocations: 40.23 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1499, allocations: 115.6 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1501, allocations: 151.6 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1501, allocations: 8 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.1511, allocations: 0.6278 MB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1513, allocations: 103.7 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.1514, allocations: 61.58 kB / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1524, allocations: 0.8305 MB / 476.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1524, allocations: 3.938 kB / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1524, allocations: 4 kB / 476.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1524, allocations: 0 / 476.8 MB, free: 8.402 MB / 350.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.00127/0.1537, allocations: 0.6659 MB / 477.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1537, allocations: 8.562 kB / 477.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1538, allocations: 35.53 kB / 477.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.1542, allocations: 279.1 kB / 477.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1543, allocations: 16 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.1543, allocations: 31.86 kB / 477.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.1548, allocations: 279.2 kB / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1548, allocations: 0 / 478.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1549, allocations: 4 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1549, allocations: 4 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.1553, allocations: 235.8 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.1568, allocations: 0.7579 MB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.1573, allocations: 296.9 kB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.1573, allocations: 4 kB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1574, allocations: 42.94 kB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.1574, allocations: 3.938 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001071/0.1584, allocations: 0.5406 MB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1585, allocations: 85.05 kB / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1589, allocations: 344.4 kB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1589, allocations: 33.7 kB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1591, allocations: 152.7 kB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.1592, allocations: 90.56 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.1592, allocations: 8 kB / 480.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1593, allocations: 350.8 kB / 481 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.1598, allocations: 292.8 kB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.1602, allocations: 339.5 kB / 481.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.1607, allocations: 325.9 kB / 481.9 MB, free: 3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1608, allocations: 4 kB / 481.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001068/0.1618, allocations: 0.7645 MB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1619, allocations: 4 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.1619, allocations: 11.98 kB / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1619, allocations: 0 / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.1624, allocations: 107.8 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1624, allocations: 0 / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1626, allocations: 71.11 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1626, allocations: 12 kB / 482.9 MB, free: 2.023 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.1629, allocations: 184.1 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.163, allocations: 23.62 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.33e-05/0.1631, allocations: 42.7 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1631, allocations: 4 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1631, allocations: 11.89 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1631, allocations: 0 / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1636, allocations: 341.2 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1636, allocations: 4 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.1639, allocations: 47.92 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1639, allocations: 0 / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.164, allocations: 15.98 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.164, allocations: 0 / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.164, allocations: 4 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.165, allocations: 0.7619 MB / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1651, allocations: 116.8 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.1652, allocations: 12 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.1654, allocations: 11.98 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.1655, allocations: 15.94 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1655, allocations: 15.98 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1657, allocations: 211 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1657, allocations: 0 / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009619/0.1667, allocations: 255.9 kB / 485 MB, free: 15.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005435/0.1673, allocations: 263 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1684, allocations: 0.7372 MB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1684, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.1687, allocations: 203.8 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1691, allocations: 37.5 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1704, allocations: 1.032 MB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1709, allocations: 0.8148 MB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.171, allocations: 66.23 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1711, allocations: 23.44 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1711, allocations: 0 / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01157/0.1827, allocations: 6.17 MB / 494.3 MB, free: 6.477 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (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)