Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001213/0.001213, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001384/0.001384, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.95 MB / 361.6 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 75.89 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3242, allocations: 66.07 MB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002966/0.3272, allocations: 1.799 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3294, allocations: 1.299 MB / 0.5644 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.3295, allocations: 4 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.3296, allocations: 31.66 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.3297, allocations: 31.72 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.3315, allocations: 0.6897 MB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3319, allocations: 299.3 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.3321, allocations: 38.39 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3323, allocations: 127.5 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3326, allocations: 175.5 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.3326, allocations: 24 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3346, allocations: 1.337 MB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3347, allocations: 115.6 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3349, allocations: 119.4 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.3362, allocations: 1.102 MB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3362, allocations: 4 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3362, allocations: 0 / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3362, allocations: 0 / 0.5684 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.001238/0.3374, allocations: 0.6599 MB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3375, allocations: 12.03 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.517e-05/0.3375, allocations: 4.188 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.3376, allocations: 50.73 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3377, allocations: 44.62 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3381, allocations: 218 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3381, allocations: 15.98 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.3382, allocations: 23.95 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.3387, allocations: 330.5 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3387, allocations: 0 / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3387, allocations: 11.98 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3387, allocations: 4 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.3392, allocations: 223.8 kB / 0.57 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3403, allocations: 0.6712 MB / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.3408, allocations: 285.1 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3411, allocations: 193.8 kB / 0.5711 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3411, allocations: 7.938 kB / 0.5711 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3412, allocations: 34.56 kB / 0.5711 GB, free: 9.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.3412, allocations: 3.938 kB / 0.5711 GB, free: 9.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001017/0.3422, allocations: 0.5323 MB / 0.5716 GB, free: 9.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3422, allocations: 85.05 kB / 0.5717 GB, free: 9.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.3426, allocations: 352.6 kB / 0.5721 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3426, allocations: 29.7 kB / 0.5721 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3427, allocations: 145 kB / 0.5722 GB, free: 8.746 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3429, allocations: 115 kB / 0.5723 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.343, allocations: 125.4 kB / 0.5725 GB, free: 8.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3432, allocations: 350.8 kB / 0.5728 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.3436, allocations: 284.9 kB / 0.5731 GB, free: 7.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.3441, allocations: 336.2 kB / 0.5734 GB, free: 7.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.3477, allocations: 1.77 MB / 0.5751 GB, free: 5.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3477, allocations: 0 / 0.5751 GB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001206/0.3489, allocations: 0.7582 MB / 0.5759 GB, free: 4.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3489, allocations: 14.12 kB / 0.5759 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.349, allocations: 7.984 kB / 0.5759 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.349, allocations: 4 kB / 0.5759 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.3495, allocations: 95.88 kB / 0.576 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3495, allocations: 0 / 0.576 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3497, allocations: 75.34 kB / 0.576 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.3497, allocations: 15.94 kB / 0.5761 GB, free: 4.789 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.0002857/0.35, allocations: 177.6 kB / 0.5762 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.3501, allocations: 31.75 kB / 0.5763 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.3502, allocations: 42.7 kB / 0.5763 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3502, allocations: 4 kB / 0.5763 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3502, allocations: 0 / 0.5763 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3502, allocations: 7.984 kB / 0.5763 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.3506, allocations: 264.6 kB / 0.5766 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3506, allocations: 0 / 0.5766 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.3509, allocations: 43.98 kB / 0.5766 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3509, allocations: 7.938 kB / 0.5766 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.351, allocations: 11.98 kB / 0.5766 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.351, allocations: 7.938 kB / 0.5766 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.351, allocations: 0 / 0.5766 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.352, allocations: 0.7523 MB / 0.5774 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3521, allocations: 35.89 kB / 0.5774 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3521, allocations: 11.94 kB / 0.5774 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3523, allocations: 15.98 kB / 0.5774 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3524, allocations: 19.91 kB / 0.5774 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.3524, allocations: 12 kB / 0.5775 GB, free: 3.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.3526, allocations: 219 kB / 0.5777 GB, free: 3.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3526, allocations: 0 / 0.5777 GB, free: 3.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008216/0.3535, allocations: 255.6 kB / 0.5779 GB, free: 2.809 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.001793/0.3553, allocations: 1.446 MB / 0.5793 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009581/0.3562, allocations: 0.6546 MB / 0.58 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3562, allocations: 7.938 kB / 0.58 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.3565, allocations: 199.9 kB / 0.5802 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.357, allocations: 41.28 kB / 0.5802 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.3629, allocations: 4.533 MB / 0.5846 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3632, allocations: 199.8 kB / 0.5848 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.3634, allocations: 70.23 kB / 0.5849 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3636, allocations: 107.4 kB / 0.585 GB, free: 11.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3636, allocations: 0 / 0.585 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.4085, allocations: 10.51 MB / 0.5952 GB, free: 1.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 7.312 kB / 0.5953 GB, free: 1.074 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.38356378104072] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 11.752548504038714 11.770751998 11.431459192 Calling exit ...