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.001396/0.001396, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001584/0.001584, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.56/1.56, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2451/0.2451, allocations: 46.96 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 59.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 66.03 MB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003412/0.3355, allocations: 1.797 MB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.338, allocations: 1.299 MB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3381, allocations: 4 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3383, allocations: 27.72 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.3384, allocations: 35.66 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.3405, allocations: 0.6781 MB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.3409, allocations: 311.2 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.341, allocations: 38.39 kB / 0.5654 GB, free: 48 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.3413, allocations: 127.6 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3415, allocations: 167.5 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.3416, allocations: 24 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.344, allocations: 1.337 MB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.3442, allocations: 119.6 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3443, allocations: 115.4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.3461, allocations: 1.11 MB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.3461, allocations: 4 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3461, allocations: 0 / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3461, allocations: 0 / 0.5683 GB, free: 13.05 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.001781/0.3479, allocations: 0.6677 MB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.3479, allocations: 8.031 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.586e-05/0.348, allocations: 4.188 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.348, allocations: 42.75 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.3483, allocations: 44.69 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.3488, allocations: 221.9 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3488, allocations: 12 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.3489, allocations: 27.95 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.3496, allocations: 327 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3496, allocations: 4 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.3496, allocations: 12 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3496, allocations: 0 / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.3501, allocations: 235.7 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3517, allocations: 0.6712 MB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.3522, allocations: 284.9 kB / 0.5708 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.3525, allocations: 189.6 kB / 0.571 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3525, allocations: 7.938 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.3526, allocations: 38.56 kB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.3526, allocations: 0 / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001152/0.3537, allocations: 0.5365 MB / 0.5716 GB, free: 9.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3538, allocations: 77.11 kB / 0.5716 GB, free: 9.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.3542, allocations: 356.6 kB / 0.572 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.3542, allocations: 33.64 kB / 0.572 GB, free: 9.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3544, allocations: 144.9 kB / 0.5722 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3545, allocations: 107 kB / 0.5723 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.3547, allocations: 129.4 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3549, allocations: 346.8 kB / 0.5727 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.3554, allocations: 284.8 kB / 0.573 GB, free: 8.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.3559, allocations: 340.2 kB / 0.5733 GB, free: 7.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.3596, allocations: 1.745 MB / 0.575 GB, free: 5.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3596, allocations: 4 kB / 0.575 GB, free: 5.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001216/0.3608, allocations: 0.7691 MB / 0.5758 GB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3609, allocations: 11.92 kB / 0.5758 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.3609, allocations: 8 kB / 0.5758 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3609, allocations: 0 / 0.5758 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3614, allocations: 99.81 kB / 0.5759 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3614, allocations: 4 kB / 0.5759 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3617, allocations: 75.34 kB / 0.576 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.3617, allocations: 12 kB / 0.576 GB, free: 4.988 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.0003065/0.362, allocations: 192.2 kB / 0.5762 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.3621, allocations: 27.75 kB / 0.5762 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.3622, allocations: 42.66 kB / 0.5762 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3622, allocations: 4 kB / 0.5762 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3622, allocations: 0 / 0.5762 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3622, allocations: 7.984 kB / 0.5762 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3627, allocations: 272.6 kB / 0.5765 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3627, allocations: 0 / 0.5765 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.363, allocations: 47.97 kB / 0.5765 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.363, allocations: 3.938 kB / 0.5765 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.3631, allocations: 19.97 kB / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3631, allocations: 0 / 0.5766 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3631, allocations: 4 kB / 0.5766 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3642, allocations: 0.7601 MB / 0.5773 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3642, allocations: 27.91 kB / 0.5773 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.3643, allocations: 19.92 kB / 0.5774 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3645, allocations: 8 kB / 0.5774 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.3646, allocations: 15.97 kB / 0.5774 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.3646, allocations: 11.98 kB / 0.5774 GB, free: 3.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3649, allocations: 223 kB / 0.5776 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3649, allocations: 0 / 0.5776 GB, free: 3.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008902/0.3658, allocations: 251.6 kB / 0.5778 GB, free: 3 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.001925/0.3677, allocations: 1.437 MB / 0.5792 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3687, allocations: 0.6662 MB / 0.5799 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3687, allocations: 0 / 0.5799 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.3691, allocations: 187.8 kB / 0.5801 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.3696, allocations: 41.06 kB / 0.5801 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/0.3758, allocations: 4.539 MB / 0.5845 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.376, allocations: 203.8 kB / 0.5847 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3762, allocations: 70.23 kB / 0.5848 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.3764, allocations: 107.4 kB / 0.5849 GB, free: 11.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3764, allocations: 0 / 0.5849 GB, free: 11.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.4131, allocations: 10.51 MB / 0.5952 GB, free: 1.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.43, allocations: 8.047 kB / 0.5952 GB, free: 1.324 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.60588904703036] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.62539043801371 12.650102964 12.298919943 Calling exit ...