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.001569/0.001569, allocations: 93.61 kB / 17 MB, free: 6.113 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.001812/0.001812, allocations: 181.5 kB / 17.89 MB, free: 5.691 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.66/1.66, allocations: 223.3 MB / 241.9 MB, free: 304 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.2242/0.2242, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1613, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002292/0.1637, allocations: 1.495 MB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1663, allocations: 1.261 MB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1666, allocations: 7.875 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.1668, allocations: 19.86 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.167, allocations: 23.78 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.1691, allocations: 471.1 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.1696, allocations: 247.3 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1698, allocations: 44.25 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.1701, allocations: 99.62 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.1705, allocations: 159.5 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.1706, allocations: 12 kB / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1721, allocations: 0.6862 MB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.1723, allocations: 103.7 kB / 476.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1724, allocations: 69.52 kB / 476.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.1738, allocations: 0.8266 MB / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1738, allocations: 0 / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1738, allocations: 4 kB / 477.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.1739, allocations: 0 / 477.1 MB, free: 8.156 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.001709/0.1756, allocations: 0.6776 MB / 477.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.1757, allocations: 8.562 kB / 477.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1758, allocations: 35.53 kB / 477.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.1764, allocations: 275.1 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1764, allocations: 16 kB / 478.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1765, allocations: 31.84 kB / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.1772, allocations: 279.2 kB / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1773, allocations: 0 / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1773, allocations: 4 kB / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1773, allocations: 4 kB / 478.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.1778, allocations: 235.8 kB / 478.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1795, allocations: 0.754 MB / 479.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.18, allocations: 304.9 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1803, allocations: 189.6 kB / 479.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.1804, allocations: 11.98 kB / 479.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1804, allocations: 42.44 kB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1805, allocations: 0 / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001224/0.1817, allocations: 0.5573 MB / 480.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.1818, allocations: 85.11 kB / 480.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.1822, allocations: 344.4 kB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.1823, allocations: 29.7 kB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1824, allocations: 144.8 kB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1825, allocations: 94.56 kB / 481.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.1825, allocations: 8 kB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1827, allocations: 346.8 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.1832, allocations: 292.8 kB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1837, allocations: 339.5 kB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.1843, allocations: 329.9 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1843, allocations: 4 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001298/0.1856, allocations: 0.7645 MB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.1856, allocations: 4 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.1857, allocations: 4 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1857, allocations: 7.953 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.1862, allocations: 103.9 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1862, allocations: 0 / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1865, allocations: 67.11 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.1865, allocations: 16 kB / 483.4 MB, free: 1.566 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.0002937/0.1868, allocations: 186.5 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.897e-05/0.1869, allocations: 27.62 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1871, allocations: 38.72 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1871, allocations: 4 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.1871, allocations: 3.953 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.1871, allocations: 3.984 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.1876, allocations: 341.2 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1876, allocations: 3.938 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.188, allocations: 55.97 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.188, allocations: 0 / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.188, allocations: 15.98 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1881, allocations: 0 / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1881, allocations: 0 / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1892, allocations: 0.7563 MB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1893, allocations: 108.8 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.1894, allocations: 11.98 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1896, allocations: 12 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.1897, allocations: 15.97 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.1898, allocations: 11.95 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.19, allocations: 219 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1901, allocations: 3.938 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001181/0.1912, allocations: 255.9 kB / 485.5 MB, free: 15.43 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.0009431/0.1922, allocations: 251.1 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1934, allocations: 0.7441 MB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1934, allocations: 0 / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.1938, allocations: 199.8 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.1944, allocations: 33.08 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.196, allocations: 1.042 MB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1965, allocations: 0.8031 MB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.1967, allocations: 70.23 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1968, allocations: 23.44 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1968, allocations: 0 / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01653/0.2133, allocations: 6.178 MB / 494.8 MB, free: 6.031 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)