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.0009497/0.0009498, allocations: 96.41 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 199.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 63.46 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002378/0.1514, allocations: 1.511 MB / 483 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1537, allocations: 1.311 MB / 484.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1538, allocations: 3.938 kB / 484.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.154, allocations: 31.78 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.1541, allocations: 23.94 kB / 484.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1555, allocations: 435 kB / 484.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.1558, allocations: 151.7 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.156, allocations: 40.28 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.1562, allocations: 119.6 kB / 485.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1565, allocations: 151.5 kB / 485.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.1565, allocations: 19.94 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.1575, allocations: 0.6278 MB / 485.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1576, allocations: 99.77 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.1577, allocations: 65.52 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.1587, allocations: 0.8266 MB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1587, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1587, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1587, allocations: 0 / 486.9 MB, free: 15.88 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.001264/0.16, allocations: 0.6853 MB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.16, allocations: 12.03 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.1601, allocations: 46.55 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.1603, allocations: 39.61 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.1607, allocations: 283.1 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1607, allocations: 8 kB / 488 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.1608, allocations: 31.89 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.1613, allocations: 279.6 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1613, allocations: 3.938 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1613, allocations: 8 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1613, allocations: 4 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.1618, allocations: 231.8 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1631, allocations: 0.7655 MB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1635, allocations: 288.9 kB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1636, allocations: 8 kB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1636, allocations: 38.5 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.1636, allocations: 0 / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001048/0.1647, allocations: 0.5566 MB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1647, allocations: 81.11 kB / 490.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.1651, allocations: 344.5 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.1651, allocations: 33.7 kB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1653, allocations: 136.8 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.1654, allocations: 106.5 kB / 490.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.1654, allocations: 4 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1656, allocations: 354.8 kB / 491.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.166, allocations: 284.9 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.1665, allocations: 339.5 kB / 491.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.167, allocations: 333.9 kB / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.167, allocations: 0 / 492.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001134/0.1682, allocations: 0.7684 MB / 492.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1682, allocations: 4 kB / 492.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.1682, allocations: 4 kB / 492.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1683, allocations: 11.94 kB / 492.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.1688, allocations: 99.86 kB / 493 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1688, allocations: 0 / 493 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.169, allocations: 67.12 kB / 493.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.1691, allocations: 8 kB / 493.1 MB, free: 9.418 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.000301/0.1694, allocations: 191.7 kB / 493.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.1695, allocations: 31.58 kB / 493.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.1696, allocations: 42.7 kB / 493.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1696, allocations: 0 / 493.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1696, allocations: 4 kB / 493.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1696, allocations: 0 / 493.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1701, allocations: 337.2 kB / 493.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1701, allocations: 0 / 493.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.1705, allocations: 59.91 kB / 493.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1705, allocations: 3.953 kB / 493.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.1705, allocations: 15.98 kB / 493.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1705, allocations: 0 / 493.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1705, allocations: 0 / 493.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1717, allocations: 0.7696 MB / 494.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1718, allocations: 108.8 kB / 494.6 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.1719, allocations: 11.98 kB / 494.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1721, allocations: 12 kB / 494.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.1722, allocations: 23.97 kB / 494.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1722, allocations: 4 kB / 494.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1725, allocations: 227 kB / 494.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1725, allocations: 0 / 494.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009772/0.1735, allocations: 251.8 kB / 495.2 MB, free: 7.254 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.002024/0.1755, allocations: 1.523 MB / 496.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1766, allocations: 0.7442 MB / 497.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1766, allocations: 0 / 497.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.177, allocations: 195.8 kB / 497.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1774, allocations: 41.06 kB / 497.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1796, allocations: 1.556 MB / 499.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1801, allocations: 0.8148 MB / 0.4883 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.1802, allocations: 66.25 kB / 0.4884 GB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1804, allocations: 99.41 kB / 0.4885 GB, free: 2.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1804, allocations: 8 kB / 0.4885 GB, free: 2.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2046, allocations: 9.538 MB / 0.4978 GB, free: 8.684 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.2049, allocations: 167.6 kB / 0.498 GB, free: 8.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.41, allocations: 0 / 0.498 GB, free: 8.441 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)