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.001637/0.001637, allocations: 109 kB / 20.48 MB, free: 1.477 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.00197/0.00197, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.467/1.467, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.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.227/0.227, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.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.002257/0.002257, allocations: 70.86 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1275, allocations: 61.03 MB / 0.5169 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003576/0.1311, allocations: 1.848 MB / 0.5187 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1334, allocations: 1.401 MB / 0.5201 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.1335, allocations: 0 / 0.5201 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1337, allocations: 35.66 kB / 0.5201 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.1338, allocations: 31.72 kB / 0.5201 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.1359, allocations: 0.6742 MB / 0.5208 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.1364, allocations: 311.2 kB / 0.5211 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1365, allocations: 36.78 kB / 0.5211 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1367, allocations: 123.6 kB / 0.5213 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.137, allocations: 175.5 kB / 0.5214 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.137, allocations: 24 kB / 0.5214 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.1395, allocations: 1.357 MB / 0.5228 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1397, allocations: 123.6 kB / 0.5229 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1398, allocations: 131.2 kB / 0.523 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1415, allocations: 1.102 MB / 0.5241 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1415, allocations: 0 / 0.5241 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.1415, allocations: 7.875 kB / 0.5241 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1415, allocations: 0 / 0.5241 GB, free: 15.94 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.00159/0.1431, allocations: 0.6599 MB / 0.5247 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1431, allocations: 11.97 kB / 0.5247 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.695e-05/0.1431, allocations: 8.125 kB / 0.5248 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.1432, allocations: 54.73 kB / 0.5248 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.1433, allocations: 32.7 kB / 0.5248 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.1437, allocations: 217.9 kB / 0.525 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1438, allocations: 8 kB / 0.5251 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.1439, allocations: 31.94 kB / 0.5251 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.1445, allocations: 271.2 kB / 0.5253 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1445, allocations: 0 / 0.5253 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.1445, allocations: 4 kB / 0.5253 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1445, allocations: 8 kB / 0.5254 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.1449, allocations: 231.7 kB / 0.5256 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1463, allocations: 0.718 MB / 0.5263 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.1468, allocations: 280.9 kB / 0.5265 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.1472, allocations: 185.6 kB / 0.5267 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1472, allocations: 16.3 kB / 0.5267 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1472, allocations: 38.5 kB / 0.5268 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.1472, allocations: 0 / 0.5268 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001062/0.1483, allocations: 0.5408 MB / 0.5273 GB, free: 12.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.1484, allocations: 81.11 kB / 0.5274 GB, free: 12.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1487, allocations: 348.6 kB / 0.5277 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1488, allocations: 29.7 kB / 0.5277 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1489, allocations: 144.9 kB / 0.5279 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.149, allocations: 103.1 kB / 0.528 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.1493, allocations: 121.7 kB / 0.5281 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.1495, allocations: 350.8 kB / 0.5284 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.15, allocations: 284.9 kB / 0.5287 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.1505, allocations: 343.3 kB / 0.529 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/0.1542, allocations: 1.768 MB / 0.5308 GB, free: 8.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1542, allocations: 0 / 0.5308 GB, free: 8.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001207/0.1554, allocations: 0.7621 MB / 0.5315 GB, free: 8.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.1554, allocations: 11.94 kB / 0.5315 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.1554, allocations: 7.984 kB / 0.5315 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1555, allocations: 4 kB / 0.5315 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.156, allocations: 95.81 kB / 0.5316 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.156, allocations: 4 kB / 0.5316 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1562, allocations: 71.39 kB / 0.5317 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.1563, allocations: 12 kB / 0.5317 GB, free: 7.914 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.0003089/0.1566, allocations: 189.1 kB / 0.5319 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.1566, allocations: 35.75 kB / 0.5319 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1568, allocations: 38.7 kB / 0.5319 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.1568, allocations: 4 kB / 0.532 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1568, allocations: 3.938 kB / 0.532 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1568, allocations: 0 / 0.532 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.1572, allocations: 304.5 kB / 0.5322 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1572, allocations: 3.984 kB / 0.5322 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.1576, allocations: 47.92 kB / 0.5323 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1576, allocations: 3.938 kB / 0.5323 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.1577, allocations: 15.98 kB / 0.5323 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1577, allocations: 4 kB / 0.5323 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1577, allocations: 4 kB / 0.5323 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1589, allocations: 0.7409 MB / 0.533 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1589, allocations: 27.89 kB / 0.5331 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.159, allocations: 19.92 kB / 0.5331 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1592, allocations: 15.98 kB / 0.5331 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1593, allocations: 19.91 kB / 0.5331 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1593, allocations: 8 kB / 0.5331 GB, free: 6.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1595, allocations: 219 kB / 0.5333 GB, free: 6.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 0 / 0.5333 GB, free: 6.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008571/0.1604, allocations: 255.6 kB / 0.5336 GB, free: 5.898 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.001988/0.1624, allocations: 1.457 MB / 0.535 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1635, allocations: 0.6469 MB / 0.5356 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1635, allocations: 0 / 0.5356 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.1638, allocations: 199.8 kB / 0.5358 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.1644, allocations: 37.06 kB / 0.5359 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.216/0.3804, allocations: 4.532 MB / 0.5403 GB, free: 27.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3806, allocations: 0.8069 MB / 0.5411 GB, free: 26.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.3809, allocations: 69.11 kB / 0.5411 GB, free: 26.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3811, allocations: 107.8 kB / 0.5412 GB, free: 26.55 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3811, allocations: 0 / 0.5412 GB, free: 26.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/0.4232, allocations: 10.43 MB / 0.5514 GB, free: 25.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.8, allocations: 11.27 kB / 0.5514 GB, free: 25.54 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.775746441970114] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 12.9680050710449 12.992301178 12.846259545 Calling exit ...