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.001343/0.001343, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001409/0.001409, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2205/0.2205, allocations: 46.93 MB / 360.9 MB, free: 4.262 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 75.81 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.03 MB / 0.5606 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003416/0.331, allocations: 1.875 MB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3334, allocations: 1.416 MB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.3335, allocations: 7.938 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3337, allocations: 35.72 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.3337, allocations: 27.72 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3355, allocations: 0.6897 MB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.3359, allocations: 303.2 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3361, allocations: 38.39 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3363, allocations: 131.5 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3366, allocations: 167.5 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.3366, allocations: 24 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.3387, allocations: 1.368 MB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3388, allocations: 119.6 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.339, allocations: 147.2 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.3402, allocations: 1.11 MB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3402, allocations: 0 / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3402, allocations: 0 / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3402, allocations: 3.938 kB / 0.5679 GB, free: 13.02 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.001276/0.3415, allocations: 0.6638 MB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3415, allocations: 12.03 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.3416, allocations: 46.73 kB / 0.5686 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3418, allocations: 36.7 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3422, allocations: 226.1 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3422, allocations: 16 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.3422, allocations: 23.95 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.3427, allocations: 271.7 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3427, allocations: 0 / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.3428, allocations: 8 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3428, allocations: 4 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.3432, allocations: 231.7 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.3445, allocations: 0.7141 MB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.345, allocations: 288.9 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.3453, allocations: 193.6 kB / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3453, allocations: 0 / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3453, allocations: 46.44 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.3453, allocations: 0 / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001033/0.3464, allocations: 0.5334 MB / 0.5711 GB, free: 9.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.3464, allocations: 85.09 kB / 0.5712 GB, free: 9.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.3468, allocations: 352.6 kB / 0.5715 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.3469, allocations: 33.7 kB / 0.5716 GB, free: 9.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.347, allocations: 144.9 kB / 0.5717 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3471, allocations: 107.1 kB / 0.5718 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3472, allocations: 125.4 kB / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3474, allocations: 346.8 kB / 0.5723 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.3479, allocations: 288.8 kB / 0.5725 GB, free: 8.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.3483, allocations: 340.2 kB / 0.5729 GB, free: 7.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/0.3518, allocations: 1.757 MB / 0.5746 GB, free: 5.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3518, allocations: 0 / 0.5746 GB, free: 5.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001144/0.3529, allocations: 0.7582 MB / 0.5753 GB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.353, allocations: 11.94 kB / 0.5753 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.353, allocations: 7.938 kB / 0.5753 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.353, allocations: 4 kB / 0.5753 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.3535, allocations: 103.9 kB / 0.5754 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3535, allocations: 3.938 kB / 0.5754 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.3537, allocations: 71.36 kB / 0.5755 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3537, allocations: 12 kB / 0.5755 GB, free: 4.984 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.0002552/0.354, allocations: 187.9 kB / 0.5757 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.3541, allocations: 23.81 kB / 0.5757 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3542, allocations: 46.64 kB / 0.5758 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3542, allocations: 4 kB / 0.5758 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3542, allocations: 0 / 0.5758 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3542, allocations: 0 / 0.5758 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.3546, allocations: 304.5 kB / 0.5761 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3546, allocations: 0 / 0.5761 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.355, allocations: 55.91 kB / 0.5761 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.355, allocations: 0 / 0.5761 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.355, allocations: 19.92 kB / 0.5761 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.355, allocations: 0 / 0.5761 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.355, allocations: 4 kB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3561, allocations: 0.751 MB / 0.5769 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3561, allocations: 31.91 kB / 0.5769 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3562, allocations: 19.92 kB / 0.5769 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3564, allocations: 8 kB / 0.5769 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.3565, allocations: 23.89 kB / 0.5769 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3565, allocations: 8 kB / 0.577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3567, allocations: 223 kB / 0.5772 GB, free: 3.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3567, allocations: 0 / 0.5772 GB, free: 3.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.3575, allocations: 251.6 kB / 0.5774 GB, free: 2.973 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.001949/0.3595, allocations: 1.446 MB / 0.5788 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3605, allocations: 0.6673 MB / 0.5795 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3605, allocations: 4 kB / 0.5795 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.3608, allocations: 191.8 kB / 0.5797 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.3613, allocations: 35.73 kB / 0.5797 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.3669, allocations: 4.542 MB / 0.5841 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.3674, allocations: 0.8106 MB / 0.5849 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3676, allocations: 70.23 kB / 0.585 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3677, allocations: 99.41 kB / 0.5851 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3677, allocations: 4 kB / 0.5851 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.4075, allocations: 10.44 MB / 0.5953 GB, free: 0.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.01, allocations: 12 kB / 0.5953 GB, free: 0.6953 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.795622708974406] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.115606776904315 12.13015021 11.78698256 Calling exit ...