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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.67 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 185.5 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 11.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001992/0.1344, allocations: 1.495 MB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1364, allocations: 1.261 MB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.1365, allocations: 4 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.1366, allocations: 23.78 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.1367, allocations: 19.84 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1379, allocations: 475 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.1382, allocations: 239.4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1384, allocations: 48.2 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1386, allocations: 103.5 kB / 475.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1388, allocations: 155.6 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.1388, allocations: 15.98 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1398, allocations: 0.6823 MB / 476.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.14, allocations: 99.7 kB / 476.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.1401, allocations: 69.52 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.1409, allocations: 0.8305 MB / 477.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1409, allocations: 4 kB / 477.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1409, allocations: 0 / 477.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1409, allocations: 0 / 477.1 MB, free: 8.105 MB / 350.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.001075/0.142, allocations: 0.6892 MB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1421, allocations: 8.031 kB / 477.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.1421, allocations: 50.55 kB / 477.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.1422, allocations: 31.62 kB / 477.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1425, allocations: 267.2 kB / 478.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1425, allocations: 15.95 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.1426, allocations: 31.84 kB / 478.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.1431, allocations: 275.7 kB / 478.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1431, allocations: 3.938 kB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1432, allocations: 8 kB / 478.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1432, allocations: 15.94 kB / 478.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.1436, allocations: 231.8 kB / 478.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1449, allocations: 0.7655 MB / 479.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.1453, allocations: 292.9 kB / 479.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.1457, allocations: 197.6 kB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1457, allocations: 4 kB / 480 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1458, allocations: 30.56 kB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/0.1458, allocations: 0 / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009991/0.1468, allocations: 0.5527 MB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1469, allocations: 81.11 kB / 480.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.1472, allocations: 344.5 kB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.1473, allocations: 37.7 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.1474, allocations: 140.7 kB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.1475, allocations: 98.56 kB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.1475, allocations: 8 kB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1476, allocations: 350.8 kB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.1481, allocations: 284.9 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.1487, allocations: 347.5 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.1492, allocations: 333.9 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1492, allocations: 0 / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001123/0.1503, allocations: 0.7568 MB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1504, allocations: 8 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.1504, allocations: 7.984 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1504, allocations: 3.953 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.1509, allocations: 103.8 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.151, allocations: 4 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.1512, allocations: 71.11 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.1512, allocations: 12 kB / 483.5 MB, free: 1.453 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.1515, allocations: 186.6 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.1516, allocations: 23.62 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1517, allocations: 42.7 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1517, allocations: 7.953 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.1517, allocations: 0 / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1517, allocations: 0 / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1522, allocations: 341.3 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1522, allocations: 0 / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.1526, allocations: 51.91 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1526, allocations: 4 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.1526, allocations: 11.98 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1526, allocations: 4 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1526, allocations: 7.891 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1538, allocations: 0.7517 MB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1539, allocations: 108.8 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.154, allocations: 15.98 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1542, allocations: 11.98 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.1543, allocations: 19.94 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.1543, allocations: 19.98 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.1546, allocations: 223 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1546, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001035/0.1557, allocations: 247.9 kB / 485.6 MB, free: 15.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/0.1576, allocations: 1.438 MB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1588, allocations: 0.7439 MB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1588, allocations: 0 / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.1591, allocations: 199.8 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.1597, allocations: 40.69 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.1641, allocations: 2.834 MB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.1646, allocations: 0.807 MB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.1648, allocations: 70.25 kB / 491.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.165, allocations: 103.4 kB / 491.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.165, allocations: 0 / 491.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.1906, allocations: 9.825 MB / 0.4899 GB, free: 15.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.1909, allocations: 172.4 kB / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.395, allocations: 0 / 0.49 GB, free: 15.07 MB / 382.1 MB (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/linux/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 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)