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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.93 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 71.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2963, allocations: 65.47 MB / 0.5582 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003254/0.2996, allocations: 1.798 MB / 0.5599 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3019, allocations: 1.291 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.302, allocations: 4 kB / 0.5612 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.3022, allocations: 35.7 kB / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.3022, allocations: 35.66 kB / 0.5613 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.304, allocations: 0.6546 MB / 0.5619 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.3045, allocations: 315.2 kB / 0.5622 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3046, allocations: 36.55 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3048, allocations: 123.6 kB / 0.5624 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3051, allocations: 163.5 kB / 0.5625 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.3051, allocations: 24 kB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.3073, allocations: 1.22 MB / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3075, allocations: 119.6 kB / 0.5638 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3076, allocations: 111.4 kB / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.309, allocations: 1.101 MB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.309, allocations: 0 / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.309, allocations: 8 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.309, allocations: 0 / 0.565 GB, free: 472 kB / 398.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.001389/0.3104, allocations: 0.6599 MB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3105, allocations: 8.031 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.3107, allocations: 48.69 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.3111, allocations: 226.2 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3111, allocations: 16 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.3112, allocations: 23.95 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.3118, allocations: 323.1 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3118, allocations: 3.938 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.3118, allocations: 4 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3118, allocations: 4 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.3123, allocations: 223.8 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3136, allocations: 0.6482 MB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.3141, allocations: 284.9 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.3144, allocations: 189.6 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3145, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3145, allocations: 34.56 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.3145, allocations: 0 / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001116/0.3156, allocations: 0.5443 MB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3157, allocations: 77.11 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.3161, allocations: 352.6 kB / 0.5686 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.3161, allocations: 33.7 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3162, allocations: 140.9 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3164, allocations: 115 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3165, allocations: 125.3 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3167, allocations: 350.8 kB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.3172, allocations: 288.8 kB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.3177, allocations: 344.1 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.3216, allocations: 1.753 MB / 0.5716 GB, free: 9.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3217, allocations: 4 kB / 0.5716 GB, free: 9.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00128/0.3229, allocations: 0.7689 MB / 0.5724 GB, free: 8.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.323, allocations: 4 kB / 0.5724 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.323, allocations: 8 kB / 0.5724 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.323, allocations: 4 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.3235, allocations: 103.8 kB / 0.5725 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3235, allocations: 0 / 0.5725 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.3238, allocations: 71.34 kB / 0.5726 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.3238, allocations: 12 kB / 0.5726 GB, free: 8.508 MB / 414.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.0003043/0.3241, allocations: 188.7 kB / 0.5728 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.3242, allocations: 23.81 kB / 0.5728 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.3243, allocations: 38.72 kB / 0.5728 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.3243, allocations: 11.94 kB / 0.5728 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3243, allocations: 0 / 0.5728 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3243, allocations: 3.984 kB / 0.5728 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.3247, allocations: 241.1 kB / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3247, allocations: 0 / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3251, allocations: 47.91 kB / 0.5731 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3251, allocations: 4 kB / 0.5731 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.3251, allocations: 19.98 kB / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3251, allocations: 0 / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3251, allocations: 3.938 kB / 0.5731 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3263, allocations: 0.7484 MB / 0.5739 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3263, allocations: 31.84 kB / 0.5739 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.3264, allocations: 15.98 kB / 0.5739 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3266, allocations: 8 kB / 0.5739 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.3267, allocations: 27.89 kB / 0.5739 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3267, allocations: 8 kB / 0.5739 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.327, allocations: 219 kB / 0.5742 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.327, allocations: 4 kB / 0.5742 GB, free: 6.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009178/0.3279, allocations: 251.7 kB / 0.5744 GB, free: 6.574 MB / 414.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.0005809/0.3285, allocations: 258.7 kB / 0.5746 GB, free: 6.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.3296, allocations: 0.6585 MB / 0.5753 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3296, allocations: 4 kB / 0.5753 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.33, allocations: 196.8 kB / 0.5755 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.3305, allocations: 41 kB / 0.5755 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3321, allocations: 0.9845 MB / 0.5765 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3323, allocations: 203.8 kB / 0.5767 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3325, allocations: 27.42 kB / 0.5767 GB, free: 4.133 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3325, allocations: 0 / 0.5767 GB, free: 4.133 MB / 414.1 MB Notification: Performance of Templates: time 0.01117/0.3436, allocations: 6.559 MB / 0.5831 GB, free: 13.65 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.480393129400909] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 0.35258711595088243 0.36885504100000005 0.056241326 Calling exit ...