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) 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 trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 96.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.00147, allocations: 194.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246 MB, free: 10.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 45.91 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001813/0.1354, allocations: 1.515 MB / 483.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1373, allocations: 1.303 MB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1374, allocations: 0 / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1375, allocations: 19.8 kB / 484.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.1376, allocations: 23.78 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1387, allocations: 479.1 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.139, allocations: 243.3 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1391, allocations: 44.27 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1393, allocations: 103.6 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1396, allocations: 159.5 kB / 485.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1396, allocations: 16 kB / 485.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009526/0.1406, allocations: 0.6862 MB / 486.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1407, allocations: 107.7 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1408, allocations: 61.58 kB / 486.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1418, allocations: 0.8344 MB / 487.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1418, allocations: 0 / 487.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1419, allocations: 3.938 kB / 487.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1419, allocations: 0 / 487.2 MB, free: 15.66 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.001187/0.1431, allocations: 0.6814 MB / 487.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1431, allocations: 19.97 kB / 487.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.1432, allocations: 46.55 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1434, allocations: 39.61 kB / 488 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1438, allocations: 275.2 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1438, allocations: 12 kB / 488.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.1438, allocations: 31.89 kB / 488.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.1443, allocations: 275.7 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1444, allocations: 0 / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1444, allocations: 4 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1444, allocations: 4 kB / 488.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.1448, allocations: 235.8 kB / 488.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1461, allocations: 0.7616 MB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.1465, allocations: 292.9 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1468, allocations: 197.6 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1469, allocations: 448 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1469, allocations: 50.39 kB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.1469, allocations: 3.938 kB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0011/0.148, allocations: 0.5484 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1481, allocations: 81.09 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.1485, allocations: 352.5 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1485, allocations: 29.7 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1486, allocations: 144.8 kB / 491.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.1487, allocations: 98.56 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.1488, allocations: 4 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1489, allocations: 350.8 kB / 491.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.1494, allocations: 288.8 kB / 492 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.1499, allocations: 343.5 kB / 492.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.1504, allocations: 325.9 kB / 492.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1504, allocations: 3.953 kB / 492.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001092/0.1515, allocations: 0.7723 MB / 493.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1515, allocations: 4 kB / 493.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1515, allocations: 4 kB / 493.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1516, allocations: 4 kB / 493.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.152, allocations: 95.88 kB / 493.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.152, allocations: 4 kB / 493.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1522, allocations: 67.11 kB / 493.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1523, allocations: 12 kB / 493.6 MB, free: 9.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.1525, allocations: 188.2 kB / 493.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.1526, allocations: 31.58 kB / 493.8 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1527, allocations: 38.72 kB / 493.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1527, allocations: 0 / 493.8 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1527, allocations: 4 kB / 493.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1528, allocations: 7.984 kB / 493.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1532, allocations: 337.3 kB / 494.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1532, allocations: 0 / 494.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.1536, allocations: 55.86 kB / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1536, allocations: 0 / 494.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.1536, allocations: 19.98 kB / 494.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1536, allocations: 0 / 494.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1536, allocations: 0 / 494.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.1546, allocations: 0.7535 MB / 495 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1547, allocations: 108.8 kB / 495.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.1548, allocations: 19.94 kB / 495.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.155, allocations: 12 kB / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.155, allocations: 19.97 kB / 495.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1551, allocations: 4 kB / 495.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.1553, allocations: 219 kB / 495.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1553, allocations: 0 / 495.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008784/0.1562, allocations: 263.8 kB / 495.6 MB, free: 6.855 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.001711/0.158, allocations: 1.442 MB / 497.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.159, allocations: 0.7364 MB / 497.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.159, allocations: 0 / 497.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.1594, allocations: 199.8 kB / 498 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.16, allocations: 43.75 kB / 498.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.1639, allocations: 2.828 MB / 0.4891 GB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1644, allocations: 0.8148 MB / 0.4899 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.1646, allocations: 70.23 kB / 0.49 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1648, allocations: 99.41 kB / 0.4901 GB, free: 0.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1648, allocations: 0 / 0.4901 GB, free: 0.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.1869, allocations: 9.831 MB / 0.4997 GB, free: 6.816 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.1871, allocations: 172.5 kB / 0.4999 GB, free: 6.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.406, allocations: 0 / 0.4999 GB, free: 6.574 MB / 382.1 MB (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/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)