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.00162/0.00162, allocations: 202.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 101.9 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 45.15 MB / 383.8 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.033e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5681, allocations: 88.17 MB / 0.5906 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5684, allocations: 63.91 kB / 0.5906 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03284/0.6013, allocations: 9.577 MB / 0.6 GB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6013, allocations: 0 / 0.6 GB, free: 5.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.6013, allocations: 8 kB / 0.6 GB, free: 5.824 MB / 394.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.001267/0.6026, allocations: 0.657 MB / 0.6006 GB, free: 5.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6027, allocations: 12.03 kB / 0.6006 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.6029, allocations: 47.02 kB / 0.6007 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.6033, allocations: 295.3 kB / 0.601 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.6034, allocations: 4 kB / 0.601 GB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.6034, allocations: 19.3 kB / 0.601 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003443/0.6038, allocations: 192.7 kB / 0.6012 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.6042, allocations: 254.8 kB / 0.6014 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6042, allocations: 4 kB / 0.6014 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.6043, allocations: 0 / 0.6014 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6043, allocations: 4 kB / 0.6014 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.6056, allocations: 0.7167 MB / 0.6021 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.606, allocations: 264.9 kB / 0.6024 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6062, allocations: 170.6 kB / 0.6025 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.6063, allocations: 4 kB / 0.6025 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.6063, allocations: 46.8 kB / 0.6026 GB, free: 3.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.617e-06/0.6063, allocations: 3.938 kB / 0.6026 GB, free: 3.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005901/0.6069, allocations: 360 kB / 0.6029 GB, free: 3.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.607, allocations: 85.11 kB / 0.603 GB, free: 2.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.6073, allocations: 299.5 kB / 0.6033 GB, free: 2.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.6073, allocations: 28.89 kB / 0.6033 GB, free: 2.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.6074, allocations: 144.7 kB / 0.6035 GB, free: 2.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.6075, allocations: 88.19 kB / 0.6035 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.6075, allocations: 4 kB / 0.6035 GB, free: 2.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6076, allocations: 345.1 kB / 0.6039 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.608, allocations: 268.9 kB / 0.6041 GB, free: 2.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.6083, allocations: 310.5 kB / 0.6044 GB, free: 1.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.6089, allocations: 309.9 kB / 0.6047 GB, free: 1.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6089, allocations: 0 / 0.6047 GB, free: 1.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009175/0.6098, allocations: 0.7019 MB / 0.6054 GB, free: 1.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6098, allocations: 8 kB / 0.6054 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.6099, allocations: 7.938 kB / 0.6054 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6099, allocations: 4 kB / 0.6054 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.6104, allocations: 103.5 kB / 0.6055 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6104, allocations: 4 kB / 0.6055 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6106, allocations: 63.06 kB / 0.6056 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.6107, allocations: 11.56 kB / 0.6056 GB, free: 0.8867 MB / 394.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.0001683/0.6108, allocations: 128.9 kB / 0.6057 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005331/0.6114, allocations: 377.3 kB / 0.6061 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.6115, allocations: 27.56 kB / 0.6061 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.6116, allocations: 35.95 kB / 0.6061 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.6116, allocations: 4 kB / 0.6061 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6116, allocations: 0 / 0.6061 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6116, allocations: 3.938 kB / 0.6061 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.612, allocations: 299.8 kB / 0.6064 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.612, allocations: 0 / 0.6064 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.6124, allocations: 43.42 kB / 0.6065 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6124, allocations: 7.953 kB / 0.6065 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.6124, allocations: 15.67 kB / 0.6065 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6124, allocations: 4 kB / 0.6065 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6124, allocations: 0 / 0.6065 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/0.6133, allocations: 0.7019 MB / 0.6072 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.6134, allocations: 120.7 kB / 0.6073 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.6135, allocations: 7.188 kB / 0.6073 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6137, allocations: 11.98 kB / 0.6073 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.6137, allocations: 11.98 kB / 0.6073 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.6138, allocations: 15.17 kB / 0.6073 GB, free: 15.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.614, allocations: 200.2 kB / 0.6075 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.614, allocations: 3.938 kB / 0.6075 GB, free: 15.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009094/0.6149, allocations: 263.7 kB / 0.6078 GB, free: 14.89 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.001619/0.6165, allocations: 1.496 MB / 0.6093 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.6175, allocations: 0.6981 MB / 0.6099 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6175, allocations: 0 / 0.6099 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.6177, allocations: 172 kB / 0.6101 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.6181, allocations: 38.94 kB / 0.6101 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.6197, allocations: 0.9786 MB / 0.6111 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.6201, allocations: 0.8178 MB / 0.6119 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.6203, allocations: 62.03 kB / 0.6119 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6205, allocations: 106.6 kB / 0.6121 GB, free: 11 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6205, allocations: 0 / 0.6121 GB, free: 11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.6508, allocations: 8.9 MB / 0.6207 GB, free: 2.16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.651, allocations: 121.5 kB / 0.6209 GB, free: 1.969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.791, allocations: 0 / 0.6209 GB, free: 1.969 MB / 410.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)