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.001357/0.001357, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001765, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.613/1.613, allocations: 205.1 MB / 222.4 MB, free: 4.391 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.3563/0.3563, allocations: 39.94 MB / 309.7 MB, free: 9.582 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.001819/0.001819, allocations: 71.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1556, allocations: 56.89 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004106/0.1598, allocations: 1.814 MB / 436.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1623, allocations: 1.382 MB / 437.7 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1625, allocations: 4 kB / 437.7 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1627, allocations: 31.66 kB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.1628, allocations: 27.73 kB / 437.8 MB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.1643, allocations: 0.5572 MB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1646, allocations: 279.3 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1647, allocations: 52.27 kB / 438.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1649, allocations: 111.6 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1652, allocations: 175.5 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.1652, allocations: 20 kB / 438.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1664, allocations: 0.7604 MB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1666, allocations: 127.6 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.1668, allocations: 135.2 kB / 440 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1684, allocations: 1.068 MB / 441 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1684, allocations: 4 kB / 441 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1684, allocations: 0 / 441 MB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1684, allocations: 0 / 441 MB, free: 13.1 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.001481/0.1699, allocations: 0.7283 MB / 441.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.17, allocations: 15.89 kB / 441.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.1701, allocations: 28.56 kB / 441.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1704, allocations: 271.5 kB / 442.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1705, allocations: 16 kB / 442.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.1705, allocations: 27.91 kB / 442.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.171, allocations: 279.1 kB / 442.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1711, allocations: 0 / 442.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.1711, allocations: 11.92 kB / 442.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1711, allocations: 4 kB / 442.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.1715, allocations: 215.8 kB / 442.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.1729, allocations: 0.7616 MB / 443.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.1733, allocations: 284.9 kB / 443.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.1736, allocations: 201.5 kB / 443.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1736, allocations: 4 kB / 443.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1737, allocations: 34.56 kB / 443.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1737, allocations: 0 / 443.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009616/0.1747, allocations: 0.537 MB / 444.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1747, allocations: 88.98 kB / 444.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.175, allocations: 348.5 kB / 444.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.1751, allocations: 33.7 kB / 444.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1752, allocations: 140.8 kB / 445 MB, free: 8.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.1753, allocations: 94.56 kB / 445.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1755, allocations: 125.7 kB / 445.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1756, allocations: 350.7 kB / 445.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.1761, allocations: 296.8 kB / 445.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.1765, allocations: 339.2 kB / 446.2 MB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.18, allocations: 1.76 MB / 448 MB, free: 5.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.18, allocations: 4 kB / 448 MB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001096/0.1811, allocations: 0.7619 MB / 448.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1811, allocations: 8 kB / 448.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.1812, allocations: 11.98 kB / 448.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1812, allocations: 0 / 448.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1817, allocations: 91.88 kB / 448.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1817, allocations: 4 kB / 448.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1819, allocations: 71.11 kB / 448.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.182, allocations: 12 kB / 448.9 MB, free: 4.93 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.0002759/0.1822, allocations: 187.7 kB / 449.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1823, allocations: 23.62 kB / 449.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.1824, allocations: 38.72 kB / 449.2 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1824, allocations: 4 kB / 449.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1825, allocations: 0 / 449.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1825, allocations: 7.922 kB / 449.2 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.183, allocations: 349.2 kB / 449.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.183, allocations: 8 kB / 449.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.1834, allocations: 43.97 kB / 449.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1834, allocations: 0 / 449.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.1834, allocations: 12 kB / 449.6 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1834, allocations: 3.938 kB / 449.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1834, allocations: 3.984 kB / 449.6 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1846, allocations: 0.7561 MB / 450.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1847, allocations: 108.8 kB / 450.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.1848, allocations: 8 kB / 450.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.185, allocations: 11.98 kB / 450.5 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.1851, allocations: 19.97 kB / 450.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.1852, allocations: 8 kB / 450.5 MB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000304/0.1855, allocations: 219 kB / 450.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1855, allocations: 4 kB / 450.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001378/0.1869, allocations: 247.9 kB / 450.9 MB, free: 2.793 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.0007215/0.1876, allocations: 255.1 kB / 451.2 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.1889, allocations: 0.7678 MB / 452 MB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1889, allocations: 0 / 452 MB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.1893, allocations: 191.8 kB / 452.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.1898, allocations: 37.08 kB / 452.2 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1912, allocations: 0.937 MB / 453.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2259/0.4171, allocations: 0.8013 MB / 453.9 MB, free: 51.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.4175, allocations: 67.34 kB / 454 MB, free: 51.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4176, allocations: 21.16 kB / 454 MB, free: 51.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4176, allocations: 0 / 454 MB, free: 51.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01181/0.4294, allocations: 6.514 MB / 460.5 MB, free: 50.89 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)