Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001453/0.001453, allocations: 210.7 kB / 23.73 MB, free: 4.523 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3066/0.3066, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003329/0.003329, allocations: 67.83 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3409, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003097/0.344, allocations: 1.801 MB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3465, allocations: 1.292 MB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3467, allocations: 7.938 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3468, allocations: 31.72 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.3469, allocations: 31.72 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.3489, allocations: 0.6896 MB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.3494, allocations: 303.2 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3495, allocations: 42.38 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.3498, allocations: 123.5 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3501, allocations: 183.4 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.3501, allocations: 24 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.3524, allocations: 1.322 MB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.3526, allocations: 123.6 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3528, allocations: 115.4 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.3546, allocations: 1.106 MB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3546, allocations: 0 / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3546, allocations: 3.938 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3546, allocations: 3.938 kB / 0.5676 GB, free: 13.08 MB / 414.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.001394/0.356, allocations: 0.6638 MB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.356, allocations: 12.03 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.3561, allocations: 50.67 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.3563, allocations: 40.7 kB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.3567, allocations: 218.1 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3567, allocations: 16 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.3568, allocations: 27.95 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.3573, allocations: 323.1 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3574, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3574, allocations: 8 kB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3574, allocations: 4 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.3578, allocations: 223.7 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3592, allocations: 0.6713 MB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.3597, allocations: 280.9 kB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.36, allocations: 197.5 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.36, allocations: 4.438 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3601, allocations: 50.44 kB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.3601, allocations: 3.938 kB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001096/0.3612, allocations: 0.5283 MB / 0.5708 GB, free: 9.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.3612, allocations: 81.11 kB / 0.5709 GB, free: 9.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.3616, allocations: 356.6 kB / 0.5712 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.3617, allocations: 33.7 kB / 0.5713 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3618, allocations: 137 kB / 0.5714 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3619, allocations: 103.1 kB / 0.5715 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3621, allocations: 133.4 kB / 0.5716 GB, free: 8.738 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3622, allocations: 346.8 kB / 0.5719 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.3627, allocations: 288.8 kB / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.3632, allocations: 336.2 kB / 0.5725 GB, free: 7.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.3669, allocations: 1.757 MB / 0.5743 GB, free: 6.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3669, allocations: 0 / 0.5743 GB, free: 6.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001257/0.3682, allocations: 0.7699 MB / 0.575 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3682, allocations: 4 kB / 0.575 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.3683, allocations: 7.938 kB / 0.575 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3683, allocations: 4 kB / 0.575 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.3688, allocations: 91.88 kB / 0.5751 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3688, allocations: 7.922 kB / 0.5751 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.369, allocations: 71.36 kB / 0.5752 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.369, allocations: 16 kB / 0.5752 GB, free: 5.031 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.0002501/0.3693, allocations: 192.2 kB / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3694, allocations: 31.81 kB / 0.5754 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.3695, allocations: 38.66 kB / 0.5755 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3695, allocations: 0 / 0.5755 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3695, allocations: 7.984 kB / 0.5755 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3695, allocations: 4 kB / 0.5755 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3699, allocations: 268.6 kB / 0.5757 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3699, allocations: 4 kB / 0.5757 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.3703, allocations: 51.91 kB / 0.5758 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3703, allocations: 0 / 0.5758 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.3703, allocations: 19.92 kB / 0.5758 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3703, allocations: 0 / 0.5758 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3703, allocations: 0 / 0.5758 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3714, allocations: 0.7554 MB / 0.5765 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.3715, allocations: 27.91 kB / 0.5766 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3715, allocations: 19.92 kB / 0.5766 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3717, allocations: 8 kB / 0.5766 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.3718, allocations: 19.89 kB / 0.5766 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3718, allocations: 12 kB / 0.5766 GB, free: 3.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3721, allocations: 219 kB / 0.5768 GB, free: 3.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3721, allocations: 0 / 0.5768 GB, free: 3.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007919/0.3729, allocations: 255.6 kB / 0.5771 GB, free: 3.051 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.001809/0.3747, allocations: 1.446 MB / 0.5785 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3757, allocations: 0.6651 MB / 0.5791 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3757, allocations: 0 / 0.5791 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.376, allocations: 195.8 kB / 0.5793 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.3765, allocations: 38.38 kB / 0.5793 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.3824, allocations: 4.531 MB / 0.5838 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3827, allocations: 207.7 kB / 0.584 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.3828, allocations: 66.23 kB / 0.584 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3831, allocations: 103.4 kB / 0.5841 GB, free: 11.65 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3831, allocations: 0 / 0.5841 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.4301, allocations: 10.88 MB / 0.5948 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 3.938 kB / 0.5948 GB, free: 0.9805 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.936904920003144] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.105079690023558 12.135000868 11.774815645 Calling exit ...