Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001319/0.001319, allocations: 190.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3817/0.3817, allocations: 39.93 MB / 309.4 MB, free: 9.695 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1411, allocations: 56.89 MB / 434 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003265/0.1444, allocations: 1.88 MB / 435.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1464, allocations: 1.381 MB / 437.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.1465, allocations: 0 / 437.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1466, allocations: 27.78 kB / 437.3 MB, free: 1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.1467, allocations: 19.83 kB / 437.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1479, allocations: 0.5147 MB / 437.8 MB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1482, allocations: 283.3 kB / 438.1 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1483, allocations: 44.28 kB / 438.1 MB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1484, allocations: 115.5 kB / 438.2 MB, free: 36 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1487, allocations: 171.5 kB / 438.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1487, allocations: 24 kB / 438.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.1496, allocations: 0.7642 MB / 439.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1498, allocations: 111.7 kB / 439.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1499, allocations: 139.2 kB / 439.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1511, allocations: 1.072 MB / 440.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.1511, allocations: 3.984 kB / 440.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1511, allocations: 0 / 440.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1511, allocations: 3.938 kB / 440.5 MB, free: 13.75 MB / 382.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.001147/0.1523, allocations: 0.7206 MB / 441.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1523, allocations: 11.89 kB / 441.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.1524, allocations: 28.56 kB / 441.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1527, allocations: 283.5 kB / 441.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1528, allocations: 15.94 kB / 441.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.1528, allocations: 27.91 kB / 441.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.1533, allocations: 267.2 kB / 441.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1533, allocations: 4 kB / 441.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1534, allocations: 7.938 kB / 441.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1534, allocations: 4 kB / 441.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1538, allocations: 223.8 kB / 442.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1549, allocations: 0.7538 MB / 442.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.1553, allocations: 304.8 kB / 443.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.1556, allocations: 189.5 kB / 443.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1557, allocations: 8 kB / 443.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1557, allocations: 42.5 kB / 443.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.1557, allocations: 0 / 443.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009476/0.1567, allocations: 0.5248 MB / 443.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1567, allocations: 88.98 kB / 444 MB, free: 10.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.1571, allocations: 356.5 kB / 444.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1571, allocations: 29.7 kB / 444.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.1572, allocations: 140.8 kB / 444.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.1573, allocations: 98.56 kB / 444.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1575, allocations: 121.7 kB / 444.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1576, allocations: 354.7 kB / 445.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.158, allocations: 280.8 kB / 445.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1584, allocations: 351.2 kB / 445.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.1617, allocations: 1.768 MB / 447.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1618, allocations: 0 / 447.5 MB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001091/0.1629, allocations: 0.7541 MB / 448.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1629, allocations: 8 kB / 448.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.1629, allocations: 4 kB / 448.2 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1629, allocations: 4 kB / 448.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.1634, allocations: 103.9 kB / 448.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1634, allocations: 3.938 kB / 448.3 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1636, allocations: 71.06 kB / 448.4 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.1637, allocations: 12 kB / 448.4 MB, free: 5.578 MB / 382.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.0002568/0.1639, allocations: 183.9 kB / 448.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.164, allocations: 27.62 kB / 448.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.1641, allocations: 38.7 kB / 448.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1641, allocations: 4 kB / 448.7 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1641, allocations: 0 / 448.7 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1642, allocations: 4 kB / 448.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.1646, allocations: 337.2 kB / 449 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1646, allocations: 0 / 449 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.1649, allocations: 51.91 kB / 449 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.165, allocations: 4 kB / 449 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.165, allocations: 15.98 kB / 449.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.165, allocations: 3.938 kB / 449.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.165, allocations: 4 kB / 449.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.166, allocations: 0.7558 MB / 449.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1661, allocations: 112.8 kB / 449.9 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.1661, allocations: 15.98 kB / 450 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1664, allocations: 8 kB / 450 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.1664, allocations: 15.97 kB / 450 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1665, allocations: 8 kB / 450 MB, free: 3.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1667, allocations: 223 kB / 450.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1667, allocations: 3.938 kB / 450.2 MB, free: 3.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009345/0.1676, allocations: 251.9 kB / 450.5 MB, free: 3.445 MB / 382.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.0004663/0.1681, allocations: 255.1 kB / 450.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1691, allocations: 0.7522 MB / 451.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1691, allocations: 0 / 451.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.1694, allocations: 195.8 kB / 451.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.1699, allocations: 41.06 kB / 451.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1712, allocations: 1.017 MB / 452.7 MB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1716, allocations: 0.8067 MB / 453.5 MB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.1718, allocations: 66.25 kB / 453.6 MB, free: 244 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1719, allocations: 27.38 kB / 453.6 MB, free: 216 kB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1719, allocations: 0 / 453.6 MB, free: 216 kB / 382.1 MB Notification: Performance of Templates: time 0.211/0.3829, allocations: 6.463 MB / 460.1 MB, free: 51.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)