Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001303/0.001303, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.00135/0.00135, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 249.8 MB, free: 3.48 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.92 MB / 349.6 MB, free: 1.715 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 68.7 kB / 491.8 MB, free: 29.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003083/0.1114, allocations: 1.837 MB / 0.5448 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1135, allocations: 1.349 MB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.1136, allocations: 0 / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1137, allocations: 35.66 kB / 0.5461 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.1138, allocations: 27.72 kB / 0.5462 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1152, allocations: 0.5611 MB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1155, allocations: 283.3 kB / 0.547 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1156, allocations: 28.58 kB / 0.547 GB, free: 0 / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1158, allocations: 119.7 kB / 0.5471 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1161, allocations: 191.4 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1161, allocations: 20 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1173, allocations: 0.9317 MB / 0.5482 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1175, allocations: 111.7 kB / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1176, allocations: 143.2 kB / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1188, allocations: 1.079 MB / 0.5495 GB, free: 13.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1188, allocations: 0 / 0.5495 GB, free: 13.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1188, allocations: 4 kB / 0.5495 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1188, allocations: 0 / 0.5495 GB, free: 13.41 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.001253/0.12, allocations: 0.7313 MB / 0.5503 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1201, allocations: 12.03 kB / 0.5503 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.1201, allocations: 46.73 kB / 0.5503 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.1202, allocations: 36.7 kB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.1206, allocations: 283.9 kB / 0.5506 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1206, allocations: 12 kB / 0.5506 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.1206, allocations: 27.95 kB / 0.5507 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.1211, allocations: 275.1 kB / 0.5509 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1211, allocations: 0 / 0.5509 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.1212, allocations: 4 kB / 0.5509 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1212, allocations: 4 kB / 0.5509 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.1216, allocations: 223.8 kB / 0.5511 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1228, allocations: 0.7578 MB / 0.5519 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.1233, allocations: 284.9 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1236, allocations: 193.6 kB / 0.5523 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1236, allocations: 4 kB / 0.5523 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1237, allocations: 42.5 kB / 0.5524 GB, free: 10.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.1237, allocations: 0 / 0.5524 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001006/0.1247, allocations: 0.5327 MB / 0.5529 GB, free: 9.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1247, allocations: 89.09 kB / 0.553 GB, free: 9.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.1251, allocations: 348.6 kB / 0.5533 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.1251, allocations: 33.64 kB / 0.5533 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.1252, allocations: 141 kB / 0.5535 GB, free: 9.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.1253, allocations: 107 kB / 0.5536 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1255, allocations: 125.6 kB / 0.5537 GB, free: 8.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1256, allocations: 350.8 kB / 0.554 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.126, allocations: 284.8 kB / 0.5543 GB, free: 8.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.1265, allocations: 343.5 kB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/0.13, allocations: 1.756 MB / 0.5564 GB, free: 6.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.13, allocations: 0 / 0.5564 GB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001148/0.1311, allocations: 0.7699 MB / 0.5571 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1311, allocations: 4 kB / 0.5571 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.1312, allocations: 7.938 kB / 0.5571 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1312, allocations: 4 kB / 0.5571 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.1316, allocations: 95.86 kB / 0.5572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1316, allocations: 0 / 0.5572 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1318, allocations: 71.36 kB / 0.5573 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.1319, allocations: 15.98 kB / 0.5573 GB, free: 5.184 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.0002418/0.1321, allocations: 187.4 kB / 0.5575 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.1322, allocations: 27.81 kB / 0.5575 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.1323, allocations: 42.66 kB / 0.5575 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1323, allocations: 3.984 kB / 0.5575 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1323, allocations: 8 kB / 0.5576 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1323, allocations: 0 / 0.5576 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1327, allocations: 333.3 kB / 0.5579 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1327, allocations: 0 / 0.5579 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.1331, allocations: 47.97 kB / 0.5579 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1331, allocations: 4 kB / 0.5579 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.1331, allocations: 19.92 kB / 0.5579 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1331, allocations: 4 kB / 0.5579 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1331, allocations: 3.938 kB / 0.5579 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1341, allocations: 0.748 MB / 0.5587 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1342, allocations: 109 kB / 0.5588 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.1343, allocations: 19.92 kB / 0.5588 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1345, allocations: 8 kB / 0.5588 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1345, allocations: 19.97 kB / 0.5588 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1346, allocations: 4 kB / 0.5588 GB, free: 3.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1348, allocations: 227 kB / 0.559 GB, free: 3.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 0.559 GB, free: 3.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007284/0.1355, allocations: 251.7 kB / 0.5593 GB, free: 3.043 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.001733/0.1373, allocations: 1.434 MB / 0.5607 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009847/0.1382, allocations: 0.6646 MB / 0.5613 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1382, allocations: 0 / 0.5613 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.1386, allocations: 191.8 kB / 0.5615 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.139, allocations: 37.45 kB / 0.5616 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.1446, allocations: 4.527 MB / 0.566 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.1451, allocations: 0.8105 MB / 0.5668 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.1453, allocations: 78.17 kB / 0.5668 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.1455, allocations: 103.4 kB / 0.5669 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1455, allocations: 0 / 0.5669 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.1812, allocations: 10.1 MB / 0.5768 GB, free: 1.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.743, allocations: 18.77 kB / 0.5768 GB, free: 1.066 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.584314344916493] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 8.818685773294419 8.846717034 8.723066094 Calling exit ...