Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009534/0.0009534, allocations: 177.1 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4751/0.4751, allocations: 43.57 MB / 314.6 MB, free: 8.754 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: Performance of FrontEnd - loaded program: time 0.0005556/0.0005556, allocations: 18.97 kB / 383.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1543, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002041/0.1564, allocations: 1.495 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1587, allocations: 1.308 MB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.1589, allocations: 4 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1591, allocations: 19.8 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.1591, allocations: 23.78 kB / 445.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1608, allocations: 475.1 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1611, allocations: 239.3 kB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1612, allocations: 48.25 kB / 446.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1614, allocations: 99.61 kB / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1617, allocations: 163.5 kB / 446.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.1617, allocations: 12 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.1627, allocations: 0.6823 MB / 447.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1628, allocations: 107.7 kB / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1629, allocations: 69.52 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1639, allocations: 0.8344 MB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.164, allocations: 0 / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.164, allocations: 0 / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.164, allocations: 0 / 448.4 MB, free: 7.445 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.001288/0.1653, allocations: 0.6814 MB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.1654, allocations: 16.02 kB / 449.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.1655, allocations: 35.58 kB / 449.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1659, allocations: 275.2 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1659, allocations: 12 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.166, allocations: 27.91 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.1666, allocations: 271.1 kB / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1666, allocations: 0 / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.1667, allocations: 8 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1667, allocations: 11.95 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.1672, allocations: 231.8 kB / 449.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.1687, allocations: 0.7655 MB / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.1692, allocations: 289.1 kB / 451 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.1696, allocations: 197.8 kB / 451.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.1696, allocations: 4 kB / 451.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1697, allocations: 30.56 kB / 451.2 MB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.1697, allocations: 0 / 451.2 MB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001314/0.171, allocations: 0.5562 MB / 451.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.1711, allocations: 81.11 kB / 451.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.1715, allocations: 344.5 kB / 452.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.1716, allocations: 37.7 kB / 452.2 MB, free: 3.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1717, allocations: 132.8 kB / 452.3 MB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1719, allocations: 102.5 kB / 452.4 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.1719, allocations: 11.94 kB / 452.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1721, allocations: 346.8 kB / 452.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.1726, allocations: 292.8 kB / 453.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.1731, allocations: 343.5 kB / 453.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.1737, allocations: 341.7 kB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1738, allocations: 0 / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001258/0.175, allocations: 0.7568 MB / 454.5 MB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.1751, allocations: 11.94 kB / 454.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.1751, allocations: 4 kB / 454.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1751, allocations: 0 / 454.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.1757, allocations: 103.9 kB / 454.6 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.1757, allocations: 7.984 kB / 454.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1759, allocations: 63.12 kB / 454.7 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1759, allocations: 12 kB / 454.7 MB, free: 0.8594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.1763, allocations: 184.3 kB / 454.9 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.1763, allocations: 23.62 kB / 454.9 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1765, allocations: 38.72 kB / 454.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1765, allocations: 4 kB / 454.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/0.1765, allocations: 3.984 kB / 454.9 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1765, allocations: 0 / 454.9 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.177, allocations: 349.2 kB / 455.3 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.177, allocations: 0 / 455.3 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.1774, allocations: 51.91 kB / 455.3 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1774, allocations: 4 kB / 455.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1774, allocations: 11.98 kB / 455.3 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1774, allocations: 4 kB / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1774, allocations: 0 / 455.3 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2907/0.4681, allocations: 0.7514 MB / 456.1 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4683, allocations: 108.8 kB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.4683, allocations: 15.05 kB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4686, allocations: 8.5 kB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.4687, allocations: 18.95 kB / 456.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.4687, allocations: 8.562 kB / 456.3 MB, free: 46.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.469, allocations: 222.6 kB / 456.5 MB, free: 45.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.469, allocations: 1.906 kB / 456.5 MB, free: 45.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.4701, allocations: 251.5 kB / 456.7 MB, free: 45.94 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 (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.0006238/0.4707, allocations: 255.3 kB / 457 MB, free: 45.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.4718, allocations: 0.7409 MB / 457.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4718, allocations: 0 / 457.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.4721, allocations: 199.8 kB / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.4726, allocations: 37.67 kB / 457.9 MB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.474, allocations: 1.044 MB / 459 MB, free: 45.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4744, allocations: 0.8089 MB / 459.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.4746, allocations: 67.7 kB / 459.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.4747, allocations: 24.59 kB / 459.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.964e-06/0.4747, allocations: 0 / 459.9 MB, free: 44.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01077/0.4854, allocations: 6.192 MB / 466.1 MB, free: 44.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)