Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001833, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002462/0.002462, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.9 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 83.86 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.128, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003215/0.1313, allocations: 1.87 MB / 0.5575 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1336, allocations: 1.417 MB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.1337, allocations: 3.938 kB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1339, allocations: 31.72 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.134, allocations: 35.72 kB / 0.5589 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1355, allocations: 0.5689 MB / 0.5595 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.1358, allocations: 283.3 kB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1359, allocations: 36.28 kB / 0.5598 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.1362, allocations: 131.6 kB / 0.5599 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1364, allocations: 179.5 kB / 0.5601 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1365, allocations: 24 kB / 0.5601 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1379, allocations: 0.9318 MB / 0.561 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1381, allocations: 119.6 kB / 0.5612 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1382, allocations: 139.2 kB / 0.5613 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1396, allocations: 1.079 MB / 0.5623 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1396, allocations: 0 / 0.5623 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1396, allocations: 4 kB / 0.5623 GB, free: 15.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1396, allocations: 0 / 0.5623 GB, free: 15.56 MB / 430.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.001408/0.141, allocations: 0.7313 MB / 0.5631 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.141, allocations: 12.03 kB / 0.5631 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.253e-05/0.1411, allocations: 54.73 kB / 0.5631 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.1413, allocations: 36.7 kB / 0.5632 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.1417, allocations: 291.8 kB / 0.5634 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1417, allocations: 12 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.1418, allocations: 27.95 kB / 0.5635 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.1423, allocations: 267.1 kB / 0.5637 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1423, allocations: 4 kB / 0.5637 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1424, allocations: 11.98 kB / 0.5637 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1424, allocations: 4 kB / 0.5637 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.1428, allocations: 215.8 kB / 0.564 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.1442, allocations: 0.7541 MB / 0.5647 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.1447, allocations: 288.9 kB / 0.565 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.145, allocations: 189.6 kB / 0.5651 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.145, allocations: 4 kB / 0.5651 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.1451, allocations: 42.44 kB / 0.5652 GB, free: 12.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 5.791e-06/0.1451, allocations: 4 kB / 0.5652 GB, free: 12.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.00109/0.1462, allocations: 0.5334 MB / 0.5657 GB, free: 11.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.1462, allocations: 81.11 kB / 0.5658 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.1466, allocations: 348.5 kB / 0.5661 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1467, allocations: 29.7 kB / 0.5662 GB, free: 11.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1468, allocations: 152.8 kB / 0.5663 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.1469, allocations: 107.1 kB / 0.5664 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1471, allocations: 129.4 kB / 0.5665 GB, free: 11.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1473, allocations: 354.7 kB / 0.5669 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.1477, allocations: 284.8 kB / 0.5671 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1482, allocations: 339.5 kB / 0.5675 GB, free: 10.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.1519, allocations: 1.762 MB / 0.5692 GB, free: 8.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1519, allocations: 0 / 0.5692 GB, free: 8.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001215/0.1531, allocations: 0.7726 MB / 0.5699 GB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1531, allocations: 6.188 kB / 0.5699 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.1531, allocations: 7.938 kB / 0.5699 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1532, allocations: 4 kB / 0.5699 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.1536, allocations: 95.88 kB / 0.57 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1537, allocations: 4 kB / 0.57 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1539, allocations: 75.33 kB / 0.5701 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1539, allocations: 12 kB / 0.5701 GB, free: 7.312 MB / 430.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.0002645/0.1541, allocations: 182.4 kB / 0.5703 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.1542, allocations: 31.75 kB / 0.5703 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.1543, allocations: 38.66 kB / 0.5704 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1543, allocations: 4 kB / 0.5704 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1543, allocations: 0 / 0.5704 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1543, allocations: 3.984 kB / 0.5704 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1548, allocations: 337.3 kB / 0.5707 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1548, allocations: 4 kB / 0.5707 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.1551, allocations: 39.97 kB / 0.5707 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1552, allocations: 4 kB / 0.5707 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.1552, allocations: 19.92 kB / 0.5708 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1552, allocations: 4 kB / 0.5708 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1552, allocations: 0 / 0.5708 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.1563, allocations: 0.7484 MB / 0.5715 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.1564, allocations: 113 kB / 0.5716 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.1564, allocations: 19.92 kB / 0.5716 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.1566, allocations: 8 kB / 0.5716 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1567, allocations: 19.97 kB / 0.5717 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1567, allocations: 8 kB / 0.5717 GB, free: 5.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.157, allocations: 219 kB / 0.5719 GB, free: 5.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 3.938 kB / 0.5719 GB, free: 5.422 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001156/0.1581, allocations: 255.7 kB / 0.5721 GB, free: 5.172 MB / 430.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.001853/0.16, allocations: 1.438 MB / 0.5735 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.161, allocations: 0.6662 MB / 0.5742 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.161, allocations: 4 kB / 0.5742 GB, free: 3.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1613, allocations: 187.8 kB / 0.5744 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1618, allocations: 41.08 kB / 0.5744 GB, free: 2.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.1679, allocations: 4.531 MB / 0.5788 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.1684, allocations: 0.8067 MB / 0.5796 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.1686, allocations: 70.23 kB / 0.5797 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.1688, allocations: 107.4 kB / 0.5798 GB, free: 13.16 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1688, allocations: 3.938 kB / 0.5798 GB, free: 13.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.2066, allocations: 10.14 MB / 0.5897 GB, free: 3.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.063, allocations: 6.391 kB / 0.5897 GB, free: 3.121 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.215925252996385] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.13778703007847 9.410402435 9.267495289 Calling exit ...