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.0008745/0.0008746, allocations: 97.06 kB / 15.69 MB, free: 488 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.0008264/0.0008265, allocations: 175.8 kB / 16.56 MB, free: 6.375 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.242/1.242, 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.2765/0.2765, allocations: 43.54 MB / 314.5 MB, free: 8.836 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.0004617/0.0004617, allocations: 12 kB / 383.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09215, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001556/0.09375, allocations: 1.496 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.09532, allocations: 1.308 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.09538, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.09551, allocations: 27.84 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.09557, allocations: 31.88 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.09659, allocations: 427.1 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.09679, allocations: 159.7 kB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.09689, allocations: 44.28 kB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.09706, allocations: 115.6 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.09723, allocations: 147.6 kB / 446.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.09726, allocations: 8 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007261/0.09799, allocations: 0.6316 MB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.09811, allocations: 107.7 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.09817, allocations: 69.52 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.09888, allocations: 0.8188 MB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.09889, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0989, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.09891, allocations: 4 kB / 448.1 MB, free: 7.691 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.0009714/0.09988, allocations: 0.6814 MB / 448.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.09992, allocations: 12.02 kB / 448.8 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.09999, allocations: 35.58 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1003, allocations: 275.2 kB / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1003, allocations: 16 kB / 449.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.1004, allocations: 27.89 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.1008, allocations: 275.2 kB / 449.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1008, allocations: 0 / 449.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1009, allocations: 4 kB / 449.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1009, allocations: 7.953 kB / 449.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.1013, allocations: 235.8 kB / 449.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1024, allocations: 0.7577 MB / 450.4 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1028, allocations: 300.9 kB / 450.7 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1029, allocations: 4 kB / 450.7 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1029, allocations: 38.5 kB / 450.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.1029, allocations: 0 / 450.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009229/0.1038, allocations: 0.5527 MB / 451.3 MB, free: 4.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1039, allocations: 85.05 kB / 451.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1042, allocations: 344.5 kB / 451.7 MB, free: 3.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1042, allocations: 37.7 kB / 451.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.1043, allocations: 136.8 kB / 451.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.1044, allocations: 98.55 kB / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.1044, allocations: 12 kB / 452 MB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1045, allocations: 346.8 kB / 452.3 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.1049, allocations: 292.8 kB / 452.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.1053, allocations: 339.5 kB / 453 MB, free: 2.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.1058, allocations: 341.7 kB / 453.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1058, allocations: 0 / 453.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000989/0.1068, allocations: 0.7568 MB / 454.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1068, allocations: 4 kB / 454.1 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.1068, allocations: 8 kB / 454.1 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1069, allocations: 4 kB / 454.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.1073, allocations: 99.88 kB / 454.2 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1073, allocations: 0 / 454.2 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1075, allocations: 71.11 kB / 454.2 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1076, allocations: 15.94 kB / 454.3 MB, free: 1.297 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.0002055/0.1078, allocations: 180.3 kB / 454.4 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.1079, allocations: 23.62 kB / 454.4 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.1079, allocations: 38.72 kB / 454.5 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1079, allocations: 4 kB / 454.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.108, allocations: 0 / 454.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.108, allocations: 7.969 kB / 454.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.1084, allocations: 341.2 kB / 454.8 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1084, allocations: 4 kB / 454.8 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.1087, allocations: 47.91 kB / 454.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1087, allocations: 0 / 454.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1088, allocations: 19.98 kB / 454.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1088, allocations: 0 / 454.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1088, allocations: 4 kB / 454.9 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1524/0.2612, allocations: 0.7725 MB / 455.7 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.2613, allocations: 101.7 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.2614, allocations: 13.66 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2616, allocations: 15.47 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.2617, allocations: 17.27 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.2618, allocations: 8.219 kB / 455.8 MB, free: 45.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.262, allocations: 215.9 kB / 456 MB, free: 45.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.262, allocations: 0 / 456 MB, free: 45.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007972/0.2628, allocations: 259 kB / 456.3 MB, free: 45.61 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.0005198/0.2633, allocations: 254.2 kB / 456.5 MB, free: 45.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008546/0.2642, allocations: 0.7428 MB / 457.3 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2642, allocations: 0 / 457.3 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.2644, allocations: 196.5 kB / 457.5 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2648, allocations: 32.52 kB / 457.5 MB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2658, allocations: 1.036 MB / 458.5 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.266, allocations: 0.815 MB / 459.4 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.2662, allocations: 62.97 kB / 459.4 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.2663, allocations: 25.12 kB / 459.4 MB, free: 44.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2663, allocations: 3.844 kB / 459.5 MB, free: 44.27 MB / 382.1 MB Notification: Performance of Templates: time 0.00932/0.2756, allocations: 6.181 MB / 465.6 MB, free: 44.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: