Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002544/0.002544, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2301/0.2301, allocations: 46.93 MB / 361.6 MB, free: 4.188 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 80.16 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.333, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003265/0.3363, allocations: 1.863 MB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.3388, allocations: 1.42 MB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3389, allocations: 7.938 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3391, allocations: 31.72 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.3391, allocations: 35.66 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.3412, allocations: 0.6781 MB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.3417, allocations: 311.2 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3419, allocations: 34.53 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3421, allocations: 131.6 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.3424, allocations: 175.4 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.3425, allocations: 24 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.3448, allocations: 1.364 MB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3449, allocations: 119.7 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3451, allocations: 143.1 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.3466, allocations: 1.11 MB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3466, allocations: 3.938 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3466, allocations: 0 / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3466, allocations: 0 / 0.5688 GB, free: 12.86 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.00146/0.3481, allocations: 0.6599 MB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3481, allocations: 12.03 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.3482, allocations: 46.73 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.3484, allocations: 48.69 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.3488, allocations: 226 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3488, allocations: 16 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.3489, allocations: 23.95 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.3494, allocations: 267.2 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3494, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3494, allocations: 8 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3494, allocations: 4 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.3499, allocations: 235.7 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3512, allocations: 0.7141 MB / 0.5709 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.3517, allocations: 296.8 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.352, allocations: 193.6 kB / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3521, allocations: 3.984 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3521, allocations: 38.5 kB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.3521, allocations: 448 / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001159/0.3533, allocations: 0.54 MB / 0.572 GB, free: 9.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3533, allocations: 81.11 kB / 0.5721 GB, free: 9.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.3538, allocations: 348.6 kB / 0.5724 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.3538, allocations: 37.7 kB / 0.5724 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3539, allocations: 140.9 kB / 0.5726 GB, free: 8.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.354, allocations: 103.1 kB / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.3542, allocations: 125.4 kB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3544, allocations: 350.8 kB / 0.5731 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.3549, allocations: 288.8 kB / 0.5734 GB, free: 7.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.3554, allocations: 340.2 kB / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.3592, allocations: 1.758 MB / 0.5754 GB, free: 5.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3592, allocations: 0 / 0.5754 GB, free: 5.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001365/0.3606, allocations: 0.7659 MB / 0.5762 GB, free: 5.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.3606, allocations: 8 kB / 0.5762 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.3607, allocations: 7.938 kB / 0.5762 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3607, allocations: 0 / 0.5762 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.3612, allocations: 99.88 kB / 0.5763 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3612, allocations: 0 / 0.5763 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3615, allocations: 75.34 kB / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3615, allocations: 12 kB / 0.5764 GB, free: 4.812 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.0003151/0.3618, allocations: 183.9 kB / 0.5765 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.3619, allocations: 35.69 kB / 0.5766 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.362, allocations: 46.66 kB / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.362, allocations: 4 kB / 0.5766 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.362, allocations: 0 / 0.5766 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.362, allocations: 3.984 kB / 0.5766 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.3625, allocations: 308.5 kB / 0.5769 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3625, allocations: 0 / 0.5769 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.3629, allocations: 51.91 kB / 0.577 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3629, allocations: 0 / 0.577 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.363, allocations: 19.92 kB / 0.577 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.363, allocations: 0 / 0.577 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.363, allocations: 8 kB / 0.577 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3641, allocations: 0.7522 MB / 0.5777 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.3642, allocations: 27.91 kB / 0.5778 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.3642, allocations: 19.92 kB / 0.5778 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3645, allocations: 8 kB / 0.5778 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.3645, allocations: 19.97 kB / 0.5778 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3646, allocations: 11.98 kB / 0.5778 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.3648, allocations: 223 kB / 0.578 GB, free: 3.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3648, allocations: 0 / 0.578 GB, free: 3.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008254/0.3656, allocations: 251.6 kB / 0.5783 GB, free: 2.781 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.002074/0.3677, allocations: 1.442 MB / 0.5797 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.3689, allocations: 0.6584 MB / 0.5803 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.3689, allocations: 4 kB / 0.5803 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.3692, allocations: 188.9 kB / 0.5805 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3697, allocations: 37.06 kB / 0.5805 GB, free: 416 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.3758, allocations: 4.543 MB / 0.585 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.3763, allocations: 0.8106 MB / 0.5858 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.3765, allocations: 74.19 kB / 0.5858 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.3767, allocations: 107.4 kB / 0.5859 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3767, allocations: 0 / 0.5859 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/0.418, allocations: 10.32 MB / 0.596 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.944/9.362, allocations: 12.11 kB / 0.596 GB, free: 0.5664 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.194303648080677] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.439467884134501 9.455494163 9.105410813 Calling exit ...