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.001182/0.001182, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001431/0.001431, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2093/0.2093, allocations: 46.92 MB / 361.6 MB, free: 4.281 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.002187/0.002187, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003094/0.3144, allocations: 1.877 MB / 0.5633 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3166, allocations: 1.428 MB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.3166, allocations: 4 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.3168, allocations: 35.66 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.3169, allocations: 27.72 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.3185, allocations: 0.6819 MB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.3188, allocations: 307.2 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.319, allocations: 34.53 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3192, allocations: 127.6 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3194, allocations: 171.5 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3195, allocations: 24 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.3215, allocations: 1.376 MB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3217, allocations: 115.6 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.3218, allocations: 139.2 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.323, allocations: 1.11 MB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.323, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3231, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3231, allocations: 0 / 0.5687 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.00129/0.3244, allocations: 0.6677 MB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3244, allocations: 12.03 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.3244, allocations: 192 / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.3245, allocations: 50.73 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3246, allocations: 40.69 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.325, allocations: 221.9 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.325, allocations: 20 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.3251, allocations: 23.95 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.3256, allocations: 275.1 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3256, allocations: 0 / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3256, allocations: 8 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3256, allocations: 0 / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.3261, allocations: 227.8 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3273, allocations: 0.7257 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.3278, allocations: 284.9 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3281, allocations: 193.6 kB / 0.5714 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3282, allocations: 3.938 kB / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3282, allocations: 38.55 kB / 0.5714 GB, free: 9.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3282, allocations: 0 / 0.5714 GB, free: 9.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001111/0.3293, allocations: 0.5365 MB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.3294, allocations: 89.05 kB / 0.5721 GB, free: 9.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3297, allocations: 348.6 kB / 0.5724 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.3298, allocations: 37.7 kB / 0.5724 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.3299, allocations: 136.9 kB / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.33, allocations: 115 kB / 0.5727 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3302, allocations: 125.4 kB / 0.5728 GB, free: 8.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3303, allocations: 346.8 kB / 0.5731 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.3308, allocations: 288.9 kB / 0.5734 GB, free: 7.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.3312, allocations: 340.2 kB / 0.5737 GB, free: 7.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/0.335, allocations: 1.758 MB / 0.5754 GB, free: 5.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.335, allocations: 4 kB / 0.5754 GB, free: 5.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001194/0.3362, allocations: 0.7621 MB / 0.5762 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3363, allocations: 7.938 kB / 0.5762 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.3363, allocations: 11.98 kB / 0.5762 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3363, allocations: 0 / 0.5762 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.3368, allocations: 95.88 kB / 0.5763 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3368, allocations: 4 kB / 0.5763 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.337, allocations: 71.34 kB / 0.5764 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.337, allocations: 12 kB / 0.5764 GB, free: 4.809 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.0002883/0.3373, allocations: 187.5 kB / 0.5766 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.3374, allocations: 27.75 kB / 0.5766 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3375, allocations: 42.7 kB / 0.5766 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3375, allocations: 4 kB / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3375, allocations: 0 / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3376, allocations: 4 kB / 0.5766 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.338, allocations: 308.5 kB / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.338, allocations: 0 / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3384, allocations: 43.98 kB / 0.577 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3384, allocations: 3.938 kB / 0.577 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.3384, allocations: 15.98 kB / 0.577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3384, allocations: 3.938 kB / 0.577 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3384, allocations: 4 kB / 0.577 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3395, allocations: 0.7561 MB / 0.5777 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.3396, allocations: 31.89 kB / 0.5778 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.3396, allocations: 15.94 kB / 0.5778 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3399, allocations: 11.98 kB / 0.5778 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.3399, allocations: 11.97 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.3399, allocations: 15.98 kB / 0.5778 GB, free: 3.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.3401, allocations: 223 kB / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008099/0.341, allocations: 259.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.001944/0.3429, allocations: 1.446 MB / 0.5797 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3439, allocations: 0.6545 MB / 0.5803 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3439, allocations: 0 / 0.5803 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.3443, allocations: 196.6 kB / 0.5805 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3447, allocations: 39.61 kB / 0.5805 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.3506, allocations: 4.55 MB / 0.585 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.3511, allocations: 0.8067 MB / 0.5858 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.3513, allocations: 70.25 kB / 0.5858 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.3515, allocations: 107.4 kB / 0.5859 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3515, allocations: 0 / 0.5859 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.3856, allocations: 10.46 MB / 0.5962 GB, free: 472 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.37, allocations: 3.984 kB / 0.5962 GB, free: 468 kB / 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.106459303002339] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 11.528583566017915 11.554014337 11.22747844 Calling exit ...