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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.000932, allocations: 107.4 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.807e-05, allocations: 4.156 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 61.91 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.5189, allocations: 87.11 MB / 0.5798 GB, free: 9.277 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5192, allocations: 63.97 kB / 0.5799 GB, free: 9.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03159/0.5508, allocations: 9.472 MB / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5508, allocations: 0 / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.5509, allocations: 8 kB / 0.5891 GB, free: 15.73 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.001349/0.5522, allocations: 0.6536 MB / 0.5898 GB, free: 15.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.5523, allocations: 11.98 kB / 0.5898 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.5524, allocations: 43.47 kB / 0.5898 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.5528, allocations: 295.9 kB / 0.5901 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5529, allocations: 7.953 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.5529, allocations: 16 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003329/0.5533, allocations: 191.9 kB / 0.5903 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.5536, allocations: 243.2 kB / 0.5906 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5537, allocations: 0 / 0.5906 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.5537, allocations: 0 / 0.5906 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5537, allocations: 8 kB / 0.5906 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.555, allocations: 0.7192 MB / 0.5913 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.5554, allocations: 269 kB / 0.5915 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.5556, allocations: 181.6 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.5557, allocations: 0 / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5557, allocations: 34.56 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.5557, allocations: 0 / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.000626/0.5563, allocations: 363.1 kB / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5564, allocations: 77.11 kB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.5567, allocations: 305.1 kB / 0.5924 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.5568, allocations: 29.64 kB / 0.5925 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.5569, allocations: 137.1 kB / 0.5926 GB, free: 11.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.557, allocations: 102.5 kB / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.557, allocations: 0 / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5571, allocations: 346.8 kB / 0.593 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.5575, allocations: 268.7 kB / 0.5933 GB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.5579, allocations: 318.3 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.5584, allocations: 305.8 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5584, allocations: 0 / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009741/0.5594, allocations: 0.6996 MB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5595, allocations: 4 kB / 0.5946 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.5595, allocations: 7.984 kB / 0.5946 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.5595, allocations: 4 kB / 0.5946 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.56, allocations: 103.9 kB / 0.5947 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.5601, allocations: 3.953 kB / 0.5947 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.5603, allocations: 67.11 kB / 0.5947 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.5603, allocations: 12 kB / 0.5948 GB, free: 9.742 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.0002066/0.5606, allocations: 116.4 kB / 0.5949 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005785/0.5611, allocations: 366.7 kB / 0.5952 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.5612, allocations: 27.61 kB / 0.5952 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5613, allocations: 34.84 kB / 0.5953 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5614, allocations: 11.95 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5614, allocations: 0 / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5614, allocations: 0 / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.5618, allocations: 309.8 kB / 0.5956 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5618, allocations: 0 / 0.5956 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.5622, allocations: 55.91 kB / 0.5956 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5622, allocations: 0 / 0.5956 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.5622, allocations: 12 kB / 0.5956 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.5623, allocations: 3.984 kB / 0.5956 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5623, allocations: 7.938 kB / 0.5957 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.5631, allocations: 0.7132 MB / 0.5964 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.5632, allocations: 104.8 kB / 0.5965 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.5633, allocations: 11.98 kB / 0.5965 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5635, allocations: 8 kB / 0.5965 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.5636, allocations: 27.86 kB / 0.5965 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.5636, allocations: 8 kB / 0.5965 GB, free: 7.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.5638, allocations: 204.6 kB / 0.5967 GB, free: 7.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5638, allocations: 0 / 0.5967 GB, free: 7.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001015/0.5648, allocations: 263.7 kB / 0.597 GB, free: 7.395 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.00183/0.5667, allocations: 1.49 MB / 0.5984 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008454/0.5675, allocations: 0.6958 MB / 0.5991 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5675, allocations: 4 kB / 0.5991 GB, free: 5.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.5678, allocations: 179.7 kB / 0.5993 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.5682, allocations: 38.39 kB / 0.5993 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.5698, allocations: 0.9841 MB / 0.6003 GB, free: 3.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.5702, allocations: 0.8143 MB / 0.6011 GB, free: 3.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.5704, allocations: 70.02 kB / 0.6011 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5706, allocations: 99.41 kB / 0.6012 GB, free: 2.906 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5706, allocations: 0 / 0.6012 GB, free: 2.906 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.6007, allocations: 8.893 MB / 0.6099 GB, free: 10.09 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.601, allocations: 122 kB / 0.61 GB, free: 9.891 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.85, allocations: 0 / 0.61 GB, free: 9.891 MB / 426.7 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)