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.001762/0.001762, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002317/0.002317, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8 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.2309/0.2309, allocations: 44.92 MB / 359.6 MB, free: 6.289 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [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.002153/0.002153, allocations: 63.89 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.339, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003181/0.3422, allocations: 1.868 MB / 0.5596 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.3445, allocations: 1.42 MB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.3445, allocations: 3.938 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3447, allocations: 31.72 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.3448, allocations: 43.64 kB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3465, allocations: 0.6664 MB / 0.5617 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.3469, allocations: 315.2 kB / 0.562 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3471, allocations: 38.38 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3473, allocations: 123.6 kB / 0.5622 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3476, allocations: 179.4 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.3476, allocations: 24 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.3498, allocations: 1.361 MB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3499, allocations: 119.7 kB / 0.5638 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.35, allocations: 143.1 kB / 0.5639 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3513, allocations: 1.11 MB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3513, allocations: 0 / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3513, allocations: 8 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3514, allocations: 0 / 0.565 GB, free: 352 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.001447/0.3528, allocations: 0.6659 MB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3528, allocations: 8.031 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.654e-05/0.3529, allocations: 8.188 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.3529, allocations: 46.73 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.3531, allocations: 44.69 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.3535, allocations: 217.8 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3535, allocations: 12 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.3536, allocations: 27.95 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.3541, allocations: 283.7 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3541, allocations: 3.984 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.3541, allocations: 4 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3541, allocations: 4 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3546, allocations: 227.7 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.3559, allocations: 0.7218 MB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.3564, allocations: 288.9 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.3568, allocations: 181.6 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.3568, allocations: 11.88 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.3568, allocations: 38.56 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.3568, allocations: 0 / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001132/0.358, allocations: 0.5482 MB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.358, allocations: 77.11 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.3584, allocations: 352.6 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3585, allocations: 29.7 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3586, allocations: 145 kB / 0.5688 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3587, allocations: 111.1 kB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.3589, allocations: 121.4 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3591, allocations: 350.8 kB / 0.5694 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.3595, allocations: 280.9 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.36, allocations: 340.2 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.3637, allocations: 1.764 MB / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3637, allocations: 0 / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001358/0.3651, allocations: 0.766 MB / 0.5725 GB, free: 8.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3651, allocations: 7.938 kB / 0.5725 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.3651, allocations: 7.984 kB / 0.5725 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3652, allocations: 8 kB / 0.5725 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.3656, allocations: 95.88 kB / 0.5726 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3656, allocations: 0 / 0.5726 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.3659, allocations: 71.34 kB / 0.5727 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3659, allocations: 12 kB / 0.5727 GB, free: 8.293 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.0002604/0.3662, allocations: 183.9 kB / 0.5728 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.3662, allocations: 31.75 kB / 0.5729 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3664, allocations: 42.7 kB / 0.5729 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3664, allocations: 3.984 kB / 0.5729 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3664, allocations: 4 kB / 0.5729 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3664, allocations: 0 / 0.5729 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3668, allocations: 308.4 kB / 0.5732 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3668, allocations: 7.984 kB / 0.5732 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.3672, allocations: 47.92 kB / 0.5733 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.3672, allocations: 7.938 kB / 0.5733 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3672, allocations: 11.98 kB / 0.5733 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3672, allocations: 4 kB / 0.5733 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.3672, allocations: 4 kB / 0.5733 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3684, allocations: 0.7484 MB / 0.574 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3684, allocations: 35.89 kB / 0.5741 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.3685, allocations: 15.94 kB / 0.5741 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3687, allocations: 7.984 kB / 0.5741 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3688, allocations: 19.97 kB / 0.5741 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3688, allocations: 4 kB / 0.5741 GB, free: 6.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.369, allocations: 227 kB / 0.5743 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 0.5743 GB, free: 6.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008024/0.3698, allocations: 259.6 kB / 0.5746 GB, free: 6.266 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.001805/0.3716, allocations: 1.438 MB / 0.576 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3726, allocations: 0.671 MB / 0.5766 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3727, allocations: 0 / 0.5766 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.373, allocations: 191.8 kB / 0.5768 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.3735, allocations: 37.06 kB / 0.5768 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.3794, allocations: 4.543 MB / 0.5813 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3798, allocations: 0.8067 MB / 0.5821 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.38, allocations: 70.23 kB / 0.5821 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3802, allocations: 103.4 kB / 0.5822 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3802, allocations: 0 / 0.5822 GB, free: 14.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.4174, allocations: 10.47 MB / 0.5925 GB, free: 3.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.59, allocations: 11.44 kB / 0.5925 GB, free: 3.984 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.666007996012922] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.777488972002175 12.794543225 12.440005894 Calling exit ...