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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 112.8 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.462/1.462, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3388/0.3388, allocations: 44.23 MB / 326.5 MB, free: 6.844 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 75.83 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2925, allocations: 60.99 MB / 0.5109 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002485/0.295, allocations: 1.849 MB / 0.5127 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2967, allocations: 1.394 MB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.2968, allocations: 5.719 kB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2969, allocations: 31.31 kB / 0.5141 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.297, allocations: 31.47 kB / 0.5141 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2983, allocations: 0.5599 MB / 0.5147 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.2986, allocations: 286.5 kB / 0.5149 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2988, allocations: 36 kB / 0.515 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.2989, allocations: 115.5 kB / 0.5151 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2991, allocations: 181.8 kB / 0.5153 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.2992, allocations: 23.72 kB / 0.5153 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.3003, allocations: 0.9274 MB / 0.5162 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3004, allocations: 120.9 kB / 0.5163 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3005, allocations: 137.6 kB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009669/0.3014, allocations: 1.077 MB / 0.5175 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3014, allocations: 0 / 0.5175 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3014, allocations: 0 / 0.5175 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3015, allocations: 0 / 0.5175 GB, free: 8.25 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.00116/0.3026, allocations: 0.7275 MB / 0.5182 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3027, allocations: 19.83 kB / 0.5182 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.3027, allocations: 46.73 kB / 0.5183 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3028, allocations: 36.69 kB / 0.5183 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3031, allocations: 283.9 kB / 0.5186 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3031, allocations: 11.94 kB / 0.5186 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.3032, allocations: 27.95 kB / 0.5186 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.3035, allocations: 271.2 kB / 0.5189 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3036, allocations: 3.938 kB / 0.5189 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.3036, allocations: 4 kB / 0.5189 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3036, allocations: 4 kB / 0.5189 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.3039, allocations: 227.8 kB / 0.5191 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.305, allocations: 0.758 MB / 0.5198 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3053, allocations: 284.9 kB / 0.5201 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.3056, allocations: 186 kB / 0.5203 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3056, allocations: 3.984 kB / 0.5203 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3056, allocations: 50.44 kB / 0.5203 GB, free: 5.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.3056, allocations: 0 / 0.5203 GB, free: 5.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008851/0.3065, allocations: 0.5368 MB / 0.5209 GB, free: 4.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3065, allocations: 81.11 kB / 0.5209 GB, free: 4.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3068, allocations: 344.5 kB / 0.5213 GB, free: 4.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3068, allocations: 33.7 kB / 0.5213 GB, free: 4.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3069, allocations: 148.9 kB / 0.5214 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.3069, allocations: 107.1 kB / 0.5215 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3071, allocations: 117.7 kB / 0.5217 GB, free: 3.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.3071, allocations: 350.8 kB / 0.522 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.3075, allocations: 280.9 kB / 0.5223 GB, free: 3.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.3078, allocations: 339.5 kB / 0.5226 GB, free: 2.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.3107, allocations: 1.768 MB / 0.5243 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3107, allocations: 0 / 0.5243 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009858/0.3116, allocations: 0.7621 MB / 0.5251 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3117, allocations: 4 kB / 0.5251 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.3117, allocations: 15.92 kB / 0.5251 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3117, allocations: 4 kB / 0.5251 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.3122, allocations: 99.81 kB / 0.5252 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3122, allocations: 4 kB / 0.5252 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3123, allocations: 63.39 kB / 0.5252 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3124, allocations: 16 kB / 0.5252 GB, free: 20 kB / 382.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.0003096/0.3127, allocations: 186.6 kB / 0.5254 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.3127, allocations: 27.81 kB / 0.5255 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.3129, allocations: 46.64 kB / 0.5255 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3129, allocations: 0 / 0.5255 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3129, allocations: 4 kB / 0.5255 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3129, allocations: 4 kB / 0.5255 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.3134, allocations: 337.3 kB / 0.5258 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3134, allocations: 7.984 kB / 0.5258 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.3138, allocations: 43.92 kB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3138, allocations: 4 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3138, allocations: 15.92 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3138, allocations: 4 kB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3138, allocations: 3.938 kB / 0.5259 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.315, allocations: 0.7448 MB / 0.5266 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.3151, allocations: 109 kB / 0.5267 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.3151, allocations: 15.94 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3153, allocations: 11.98 kB / 0.5268 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.3154, allocations: 19.92 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3154, allocations: 7.984 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.3157, allocations: 227 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 0 / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009164/0.3166, allocations: 255.6 kB / 0.5272 GB, free: 13.86 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.002063/0.3187, allocations: 1.434 MB / 0.5286 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3198, allocations: 0.6508 MB / 0.5293 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3198, allocations: 0 / 0.5293 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.3201, allocations: 199.7 kB / 0.5295 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3206, allocations: 37.06 kB / 0.5295 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.327, allocations: 4.531 MB / 0.5339 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.3275, allocations: 0.8184 MB / 0.5347 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.3277, allocations: 62.25 kB / 0.5348 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.3279, allocations: 103.4 kB / 0.5349 GB, free: 5.883 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3279, allocations: 4 kB / 0.5349 GB, free: 5.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.3673, allocations: 10.1 MB / 0.5448 GB, free: 11.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/9.542, allocations: 23.83 kB / 0.5448 GB, free: 11.74 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.304936402942985] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.619355727918446 9.644497612 9.33960667 Calling exit ...