Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001919/0.001919, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002322/0.002322, allocations: 203.8 kB / 20.79 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 207.6 MB / 231.2 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.335/0.335, allocations: 44.23 MB / 327.3 MB, free: 6.695 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.0037/0.0037, allocations: 67.91 kB / 462.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.286, allocations: 60.99 MB / 0.5116 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002581/0.2885, allocations: 1.852 MB / 0.5134 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.2909, allocations: 1.395 MB / 0.5148 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.2911, allocations: 6.875 kB / 0.5148 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2913, allocations: 32.44 kB / 0.5148 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.2914, allocations: 25.69 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.2932, allocations: 0.5621 MB / 0.5154 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.2936, allocations: 286.8 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2937, allocations: 38.7 kB / 0.5157 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2939, allocations: 122.9 kB / 0.5158 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.294, allocations: 181 kB / 0.516 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.2941, allocations: 22.97 kB / 0.516 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.2952, allocations: 0.9245 MB / 0.5169 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2953, allocations: 116.9 kB / 0.517 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2954, allocations: 140.2 kB / 0.5172 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2965, allocations: 1.074 MB / 0.5182 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2965, allocations: 0 / 0.5182 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.2965, allocations: 0 / 0.5182 GB, free: 8.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2965, allocations: 4 kB / 0.5182 GB, free: 8.211 MB / 382.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.001303/0.2978, allocations: 0.7314 MB / 0.5189 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2979, allocations: 15.89 kB / 0.519 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.2979, allocations: 4.188 kB / 0.519 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.2979, allocations: 46.73 kB / 0.519 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.688e-05/0.298, allocations: 32.7 kB / 0.519 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2982, allocations: 283.7 kB / 0.5193 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2983, allocations: 16 kB / 0.5193 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.2983, allocations: 27.95 kB / 0.5194 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2987, allocations: 267.2 kB / 0.5196 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2987, allocations: 0 / 0.5196 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2987, allocations: 4 kB / 0.5196 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2987, allocations: 7.938 kB / 0.5196 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.2991, allocations: 227.8 kB / 0.5198 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.3001, allocations: 0.7657 MB / 0.5206 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.3004, allocations: 277 kB / 0.5208 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.3007, allocations: 197.5 kB / 0.521 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3007, allocations: 7.938 kB / 0.521 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3007, allocations: 34.56 kB / 0.5211 GB, free: 5.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.3007, allocations: 0 / 0.5211 GB, free: 5.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008657/0.3016, allocations: 0.5372 MB / 0.5216 GB, free: 4.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3016, allocations: 85.11 kB / 0.5217 GB, free: 4.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3019, allocations: 344.5 kB / 0.522 GB, free: 4.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3019, allocations: 29.7 kB / 0.522 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.302, allocations: 148.9 kB / 0.5222 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.302, allocations: 103.1 kB / 0.5223 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3021, allocations: 125.6 kB / 0.5224 GB, free: 3.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.3022, allocations: 350.8 kB / 0.5227 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.3025, allocations: 280.9 kB / 0.523 GB, free: 3.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.3029, allocations: 343.5 kB / 0.5233 GB, free: 2.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.3061, allocations: 1.76 MB / 0.525 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3061, allocations: 0 / 0.525 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008785/0.307, allocations: 0.766 MB / 0.5258 GB, free: 184 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.307, allocations: 11.94 kB / 0.5258 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.307, allocations: 7.984 kB / 0.5258 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.307, allocations: 4 kB / 0.5258 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3075, allocations: 91.88 kB / 0.5259 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3075, allocations: 0 / 0.5259 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3077, allocations: 71.55 kB / 0.526 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3077, allocations: 12 kB / 0.526 GB, free: 15.98 MB / 398.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.0002694/0.308, allocations: 190.6 kB / 0.5262 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.3081, allocations: 31.75 kB / 0.5262 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.3082, allocations: 38.7 kB / 0.5262 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3082, allocations: 4 kB / 0.5262 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3082, allocations: 4 kB / 0.5262 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3083, allocations: 4 kB / 0.5262 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3087, allocations: 333.3 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3087, allocations: 0 / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.3091, allocations: 47.92 kB / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.3091, allocations: 3.938 kB / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.3092, allocations: 15.98 kB / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3092, allocations: 0 / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3092, allocations: 4 kB / 0.5266 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3103, allocations: 0.7565 MB / 0.5274 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.3104, allocations: 112.9 kB / 0.5275 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.3104, allocations: 15.94 kB / 0.5275 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3107, allocations: 11.98 kB / 0.5275 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3107, allocations: 15.98 kB / 0.5275 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3108, allocations: 7.984 kB / 0.5275 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.311, allocations: 223 kB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.311, allocations: 4 kB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008374/0.3118, allocations: 251.6 kB / 0.528 GB, free: 13.82 MB / 398.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.002139/0.314, allocations: 1.438 MB / 0.5294 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3151, allocations: 0.6624 MB / 0.53 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3151, allocations: 0 / 0.53 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.3155, allocations: 183.8 kB / 0.5302 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.316, allocations: 41.06 kB / 0.5303 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.3223, allocations: 4.532 MB / 0.5347 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.3227, allocations: 0.8067 MB / 0.5355 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.3229, allocations: 66.25 kB / 0.5355 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3231, allocations: 111.3 kB / 0.5356 GB, free: 5.832 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3231, allocations: 0 / 0.5356 GB, free: 5.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3547, allocations: 10.15 MB / 0.5455 GB, free: 11.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.499/9.854, allocations: 11.94 kB / 0.5456 GB, free: 11.65 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.852624305000063] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.993957494967617 10.013353009 9.712783251 Calling exit ...