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.001333/0.001336, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 81.05 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 62.44 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003446/0.1372, allocations: 1.907 MB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1397, allocations: 1.486 MB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1399, allocations: 4 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1401, allocations: 19.8 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1402, allocations: 27.78 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1418, allocations: 491.1 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1421, allocations: 267.3 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1423, allocations: 44.28 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1426, allocations: 107.5 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1429, allocations: 167.4 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.1429, allocations: 16 kB / 483.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.144, allocations: 0.7331 MB / 484.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1442, allocations: 103.7 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1443, allocations: 127.1 kB / 484.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1456, allocations: 1.06 MB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1456, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1456, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1456, allocations: 0 / 485.9 MB, free: 15.07 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.001427/0.1471, allocations: 0.7323 MB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1471, allocations: 8.875 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.571e-05/0.1472, allocations: 50.73 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1474, allocations: 32.56 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1478, allocations: 291.7 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1478, allocations: 12 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.1479, allocations: 27.91 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.1484, allocations: 279.6 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1484, allocations: 0 / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1484, allocations: 8 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1484, allocations: 4 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.1488, allocations: 227.8 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.15, allocations: 0.7538 MB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.1505, allocations: 292.9 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1508, allocations: 201.5 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1508, allocations: 0 / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1509, allocations: 38.5 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.1509, allocations: 0 / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009578/0.1518, allocations: 0.5364 MB / 489.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1519, allocations: 81.11 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.1522, allocations: 352.5 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1523, allocations: 33.7 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1524, allocations: 136.8 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.1524, allocations: 102.5 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1526, allocations: 125.7 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1527, allocations: 346.8 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.1532, allocations: 288.8 kB / 490.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.1536, allocations: 335.5 kB / 491.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.157, allocations: 1.769 MB / 492.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.157, allocations: 4 kB / 492.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00105/0.1581, allocations: 0.7652 MB / 493.7 MB, free: 7.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1581, allocations: 7.984 kB / 493.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.1581, allocations: 8 kB / 493.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1581, allocations: 0 / 493.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.1586, allocations: 95.88 kB / 493.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1586, allocations: 4 kB / 493.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1588, allocations: 75.11 kB / 493.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1589, allocations: 8 kB / 493.9 MB, free: 6.832 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.0002242/0.1591, allocations: 178.6 kB / 494 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.1592, allocations: 27.56 kB / 494.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.1593, allocations: 46.7 kB / 494.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1593, allocations: 4 kB / 494.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1593, allocations: 0 / 494.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1593, allocations: 3.984 kB / 494.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.1597, allocations: 341.2 kB / 494.5 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1597, allocations: 3.938 kB / 494.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1601, allocations: 51.91 kB / 494.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1601, allocations: 0 / 494.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1601, allocations: 15.98 kB / 494.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1601, allocations: 0 / 494.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1601, allocations: 4 kB / 494.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.1611, allocations: 0.7513 MB / 495.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.1612, allocations: 108.8 kB / 495.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.1613, allocations: 15.98 kB / 495.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1615, allocations: 12 kB / 495.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.1616, allocations: 19.97 kB / 495.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.1616, allocations: 11.94 kB / 495.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1618, allocations: 223 kB / 495.7 MB, free: 4.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1618, allocations: 0 / 495.7 MB, free: 4.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000774/0.1626, allocations: 251.9 kB / 495.9 MB, free: 4.703 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.00179/0.1644, allocations: 1.435 MB / 497.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.1653, allocations: 0.7288 MB / 498.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1653, allocations: 0 / 498.1 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1656, allocations: 195.8 kB / 498.3 MB, free: 2.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1661, allocations: 38.39 kB / 498.3 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.1714, allocations: 4.559 MB / 0.4911 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1718, allocations: 0.8031 MB / 0.4919 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.172, allocations: 78.22 kB / 0.4919 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.1722, allocations: 99.41 kB / 0.492 GB, free: 12.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1722, allocations: 4 kB / 0.492 GB, free: 12.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.196, allocations: 9.76 MB / 0.5016 GB, free: 2.961 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.1962, allocations: 184 kB / 0.5017 GB, free: 2.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.331, allocations: 3.938 kB / 0.5017 GB, free: 2.707 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/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)