Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001275/0.001275, allocations: 121.3 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.001306/0.001306, 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.458/1.458, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2318/0.2318, allocations: 46.89 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.86 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1184, allocations: 65.99 MB / 0.5556 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00305/0.1214, allocations: 1.873 MB / 0.5575 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1236, allocations: 1.405 MB / 0.5588 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.973e-05/0.1237, allocations: 7.938 kB / 0.5589 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1239, allocations: 27.72 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.124, allocations: 35.72 kB / 0.5589 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1255, allocations: 0.5689 MB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1259, allocations: 287.3 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.126, allocations: 36.28 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.1262, allocations: 127.6 kB / 0.5599 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.1265, allocations: 179.5 kB / 0.5601 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1265, allocations: 24 kB / 0.5601 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1278, allocations: 0.9357 MB / 0.561 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.128, allocations: 115.7 kB / 0.5611 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1281, allocations: 147.1 kB / 0.5613 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.1294, allocations: 1.075 MB / 0.5623 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1294, allocations: 0 / 0.5623 GB, free: 15.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1294, allocations: 4 kB / 0.5623 GB, free: 15.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1294, allocations: 0 / 0.5623 GB, free: 15.61 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.001382/0.1308, allocations: 0.7391 MB / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1308, allocations: 12.03 kB / 0.563 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1309, allocations: 46.75 kB / 0.5631 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1311, allocations: 44.69 kB / 0.5631 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1315, allocations: 283.8 kB / 0.5634 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1315, allocations: 12 kB / 0.5634 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.1316, allocations: 27.95 kB / 0.5634 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.1321, allocations: 271.1 kB / 0.5637 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1321, allocations: 0 / 0.5637 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1321, allocations: 8 kB / 0.5637 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1321, allocations: 4 kB / 0.5637 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.1326, allocations: 223.8 kB / 0.5639 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1339, allocations: 0.7619 MB / 0.5647 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1344, allocations: 284.9 kB / 0.5649 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.1347, allocations: 185.6 kB / 0.5651 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1347, allocations: 7.984 kB / 0.5651 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1348, allocations: 46.48 kB / 0.5652 GB, free: 12.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.1348, allocations: 4 kB / 0.5652 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001063/0.1358, allocations: 0.5288 MB / 0.5657 GB, free: 11.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1359, allocations: 81.11 kB / 0.5658 GB, free: 11.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.1363, allocations: 348.5 kB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.1363, allocations: 33.7 kB / 0.5661 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1364, allocations: 144.9 kB / 0.5663 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.1365, allocations: 103.1 kB / 0.5664 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1367, allocations: 129.4 kB / 0.5665 GB, free: 11.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1369, allocations: 358.7 kB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.1373, allocations: 284.9 kB / 0.5671 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.1378, allocations: 335.5 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.1414, allocations: 1.762 MB / 0.5691 GB, free: 8.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1414, allocations: 0 / 0.5691 GB, free: 8.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001215/0.1426, allocations: 0.766 MB / 0.5699 GB, free: 7.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1426, allocations: 4 kB / 0.5699 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.1427, allocations: 15.92 kB / 0.5699 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1427, allocations: 0 / 0.5699 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.1432, allocations: 95.88 kB / 0.57 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1432, allocations: 4 kB / 0.57 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1434, allocations: 75.34 kB / 0.5701 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1434, allocations: 15.94 kB / 0.5701 GB, free: 7.359 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.0002648/0.1437, allocations: 179.9 kB / 0.5703 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.1438, allocations: 23.81 kB / 0.5703 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1439, allocations: 46.64 kB / 0.5703 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1439, allocations: 4 kB / 0.5703 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1439, allocations: 3.938 kB / 0.5703 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1439, allocations: 0 / 0.5703 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1444, allocations: 345.3 kB / 0.5707 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1444, allocations: 0 / 0.5707 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.1447, allocations: 39.98 kB / 0.5707 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1447, allocations: 0 / 0.5707 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.1448, allocations: 23.92 kB / 0.5707 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1448, allocations: 0 / 0.5707 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1448, allocations: 0 / 0.5707 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1459, allocations: 0.7561 MB / 0.5715 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.146, allocations: 112.9 kB / 0.5716 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.146, allocations: 19.94 kB / 0.5716 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.1463, allocations: 11.98 kB / 0.5716 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1463, allocations: 15.98 kB / 0.5716 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1463, allocations: 11.98 kB / 0.5716 GB, free: 5.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1466, allocations: 219 kB / 0.5718 GB, free: 5.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1466, allocations: 0 / 0.5718 GB, free: 5.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008407/0.1474, allocations: 251.7 kB / 0.5721 GB, free: 5.219 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.002119/0.1495, allocations: 1.439 MB / 0.5735 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.1507, allocations: 0.674 MB / 0.5741 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1507, allocations: 4 kB / 0.5742 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1511, allocations: 184 kB / 0.5743 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1516, allocations: 50.45 kB / 0.5744 GB, free: 2.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.1577, allocations: 4.526 MB / 0.5788 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.1581, allocations: 0.8106 MB / 0.5796 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.1584, allocations: 66.23 kB / 0.5796 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.1585, allocations: 103.4 kB / 0.5797 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1585, allocations: 3.938 kB / 0.5798 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.1963, allocations: 10.14 MB / 0.5897 GB, free: 3.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.096, allocations: 3.516 kB / 0.5897 GB, free: 3.176 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.221641811076552] Failed to read output from testmodel.py, exit status != 0: ['time', 'padeDelay1a.y', 'padeDelay1b.y', 'padeDelay2a.y', 'padeDelay2b.y'] 9.1709593529813 9.461594632 9.329342014 Calling exit ...