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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007675/0.0007674, allocations: 87.38 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1808/0.1808, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.923e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08847, allocations: 63.25 MB / 0.5115 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4779, allocations: 88.83 MB / 0.5982 GB, free: 5.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4782, allocations: 65 kB / 0.5983 GB, free: 5.027 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03084/0.509, allocations: 9.623 MB / 0.6077 GB, free: 12.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.509, allocations: 0 / 0.6077 GB, free: 12.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.5091, allocations: 4 kB / 0.6077 GB, free: 12.65 MB / 410.7 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.001186/0.5103, allocations: 0.6586 MB / 0.6083 GB, free: 11.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5103, allocations: 11.97 kB / 0.6083 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.5104, allocations: 49.73 kB / 0.6084 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.5106, allocations: 43.52 kB / 0.6084 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.511, allocations: 300.9 kB / 0.6087 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.511, allocations: 15.12 kB / 0.6087 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.5111, allocations: 23.69 kB / 0.6087 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.5115, allocations: 252.7 kB / 0.609 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5115, allocations: 3.984 kB / 0.609 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.5116, allocations: 14.88 kB / 0.609 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5116, allocations: 0 / 0.609 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.5119, allocations: 203.4 kB / 0.6092 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5131, allocations: 0.77 MB / 0.6099 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.5136, allocations: 275.8 kB / 0.6102 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.5138, allocations: 186.8 kB / 0.6104 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.5138, allocations: 4.391 kB / 0.6104 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5139, allocations: 38.5 kB / 0.6104 GB, free: 10.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.5139, allocations: 0 / 0.6104 GB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006242/0.5145, allocations: 376.5 kB / 0.6108 GB, free: 9.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5146, allocations: 77.11 kB / 0.6108 GB, free: 9.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.5149, allocations: 313.8 kB / 0.6111 GB, free: 9.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.515, allocations: 37.64 kB / 0.6112 GB, free: 9.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.515, allocations: 134.1 kB / 0.6113 GB, free: 9.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.5151, allocations: 100.9 kB / 0.6114 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.5151, allocations: 7.812 kB / 0.6114 GB, free: 9.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5153, allocations: 348.8 kB / 0.6117 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.5156, allocations: 271.6 kB / 0.612 GB, free: 8.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.516, allocations: 321.8 kB / 0.6123 GB, free: 8.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.5164, allocations: 310.2 kB / 0.6126 GB, free: 8.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5164, allocations: 7.953 kB / 0.6126 GB, free: 8.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009021/0.5173, allocations: 0.726 MB / 0.6133 GB, free: 7.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5173, allocations: 9.406 kB / 0.6133 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.5174, allocations: 11.97 kB / 0.6133 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5174, allocations: 4 kB / 0.6134 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.5179, allocations: 95.31 kB / 0.6134 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5179, allocations: 4 kB / 0.6134 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.5181, allocations: 73.42 kB / 0.6135 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.5181, allocations: 10.94 kB / 0.6135 GB, free: 7.52 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.0001486/0.5183, allocations: 132.1 kB / 0.6137 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.5184, allocations: 27.58 kB / 0.6137 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.5185, allocations: 44.39 kB / 0.6137 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5185, allocations: 4 kB / 0.6137 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5185, allocations: 0 / 0.6137 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5185, allocations: 4 kB / 0.6137 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.5189, allocations: 341.8 kB / 0.6141 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5189, allocations: 0 / 0.6141 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.5193, allocations: 51.86 kB / 0.6141 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5193, allocations: 4 kB / 0.6141 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5194, allocations: 15.05 kB / 0.6141 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5194, allocations: 4 kB / 0.6141 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5194, allocations: 0 / 0.6141 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.5202, allocations: 0.731 MB / 0.6148 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.5203, allocations: 104.8 kB / 0.6149 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.5203, allocations: 15.3 kB / 0.615 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.5206, allocations: 15.23 kB / 0.615 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.5207, allocations: 11.98 kB / 0.615 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.5207, allocations: 7.812 kB / 0.615 GB, free: 6.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.5209, allocations: 225.8 kB / 0.6152 GB, free: 5.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5209, allocations: 0 / 0.6152 GB, free: 5.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009146/0.5218, allocations: 274.5 kB / 0.6155 GB, free: 5.73 MB / 410.7 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 () * 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.001528/0.5233, allocations: 1.512 MB / 0.6169 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.5242, allocations: 0.7215 MB / 0.6176 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5242, allocations: 0 / 0.6176 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5244, allocations: 178.2 kB / 0.6178 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.5248, allocations: 37.28 kB / 0.6179 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.5263, allocations: 1.013 MB / 0.6188 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5267, allocations: 0.8094 MB / 0.6196 GB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.5269, allocations: 70.03 kB / 0.6197 GB, free: 1.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.527, allocations: 103.3 kB / 0.6198 GB, free: 1.785 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5271, allocations: 0 / 0.6198 GB, free: 1.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.5494, allocations: 9.459 MB / 0.629 GB, free: 8.48 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.5497, allocations: 138.4 kB / 0.6292 GB, free: 8.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.655, allocations: 0 / 0.6292 GB, free: 8.258 MB / 426.7 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)