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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001674/0.001674, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2399/0.2399, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.002232/0.002232, allocations: 83.52 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1257, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003403/0.1292, allocations: 1.849 MB / 482.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1315, allocations: 1.403 MB / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1316, allocations: 0 / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1318, allocations: 31.72 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.1319, allocations: 31.66 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1334, allocations: 0.5767 MB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1337, allocations: 287.2 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1338, allocations: 40.28 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.134, allocations: 119.6 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1343, allocations: 175.4 kB / 484.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.1343, allocations: 28 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1354, allocations: 0.7604 MB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1355, allocations: 115.7 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1357, allocations: 139.1 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1369, allocations: 1.076 MB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1369, allocations: 4 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1369, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.1369, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.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.001367/0.1383, allocations: 0.7244 MB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1384, allocations: 12.03 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.1384, allocations: 42.75 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.1386, allocations: 36.55 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.139, allocations: 295.7 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.139, allocations: 16 kB / 487.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1391, allocations: 27.91 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.1396, allocations: 267.2 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1396, allocations: 0 / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1397, allocations: 8 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1397, allocations: 7.984 kB / 488.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.1401, allocations: 223.8 kB / 488.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1414, allocations: 0.7538 MB / 489.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.1419, allocations: 288.9 kB / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.1422, allocations: 189.6 kB / 489.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1422, allocations: 0 / 489.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1423, allocations: 50.42 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.042e-06/0.1423, allocations: 0 / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001067/0.1434, allocations: 0.5405 MB / 490.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1434, allocations: 81.11 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.1438, allocations: 348.5 kB / 490.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1439, allocations: 33.7 kB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.144, allocations: 144.8 kB / 490.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.1441, allocations: 98.55 kB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1443, allocations: 121.7 kB / 491.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1444, allocations: 350.8 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.1449, allocations: 284.9 kB / 491.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.1453, allocations: 339.5 kB / 492 MB, free: 9.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.1489, allocations: 1.777 MB / 493.8 MB, free: 7.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.149, allocations: 3.938 kB / 493.8 MB, free: 7.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00115/0.1501, allocations: 0.7619 MB / 494.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1502, allocations: 8 kB / 494.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.1502, allocations: 7.984 kB / 494.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1502, allocations: 3.938 kB / 494.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.1507, allocations: 99.88 kB / 494.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1507, allocations: 0 / 494.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1509, allocations: 67.11 kB / 494.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.151, allocations: 12 kB / 494.8 MB, free: 6.289 MB / 366.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.0002725/0.1513, allocations: 180.4 kB / 494.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.1514, allocations: 31.56 kB / 495 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.1514, allocations: 38.7 kB / 495 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1515, allocations: 4 kB / 495 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1515, allocations: 0 / 495 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1515, allocations: 7.938 kB / 495 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.152, allocations: 345.2 kB / 495.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.152, allocations: 3.938 kB / 495.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.1523, allocations: 47.92 kB / 495.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1524, allocations: 0 / 495.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.1524, allocations: 19.98 kB / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1524, allocations: 0 / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1524, allocations: 4 kB / 495.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1535, allocations: 0.7437 MB / 496.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.1536, allocations: 112.7 kB / 496.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.1536, allocations: 16 kB / 496.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1539, allocations: 7.984 kB / 496.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.154, allocations: 15.98 kB / 496.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.154, allocations: 7.984 kB / 496.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1542, allocations: 231 kB / 496.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1542, allocations: 0 / 496.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008412/0.1551, allocations: 251.9 kB / 496.8 MB, free: 4.16 MB / 366.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.00174/0.1568, allocations: 1.433 MB / 498.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1579, allocations: 0.7523 MB / 499 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1579, allocations: 4 kB / 499 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.1583, allocations: 191.8 kB / 499.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.1588, allocations: 41 kB / 499.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.1644, allocations: 4.504 MB / 0.4919 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.1649, allocations: 0.8067 MB / 0.4927 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1651, allocations: 74.22 kB / 0.4928 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.1653, allocations: 107.4 kB / 0.4929 GB, free: 12.08 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1653, allocations: 3.938 kB / 0.4929 GB, free: 12.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.2009, allocations: 10.05 MB / 0.5027 GB, free: 2.156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.57, allocations: 7.797 kB / 0.5027 GB, free: 2.148 MB / 382.1 MB (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 --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)