Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001559, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009214/0.0009215, allocations: 82.69 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4174/0.5505, allocations: 86.05 MB / 0.5501 GB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001516/0.5507, allocations: 58.52 kB / 0.5501 GB, free: 8.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.5778, allocations: 9.401 MB / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5779, allocations: 0 / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.5779, allocations: 7.938 kB / 0.5593 GB, free: 0.5586 MB / 362.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.001043/0.5789, allocations: 0.6499 MB / 0.5599 GB, free: 15.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.579, allocations: 12.03 kB / 0.5599 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.5791, allocations: 31.53 kB / 0.56 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.5795, allocations: 296 kB / 0.5603 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5795, allocations: 7.984 kB / 0.5603 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.5795, allocations: 16 kB / 0.5603 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003045/0.5799, allocations: 196.6 kB / 0.5605 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.5802, allocations: 243.3 kB / 0.5607 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5802, allocations: 3.938 kB / 0.5607 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.5803, allocations: 4 kB / 0.5607 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5803, allocations: 4 kB / 0.5607 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5814, allocations: 0.7243 MB / 0.5614 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.5817, allocations: 264 kB / 0.5617 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.5819, allocations: 178.7 kB / 0.5618 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.582, allocations: 7.984 kB / 0.5618 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.582, allocations: 34.06 kB / 0.5619 GB, free: 14.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.582, allocations: 0 / 0.5619 GB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005621/0.5826, allocations: 360 kB / 0.5622 GB, free: 13.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5826, allocations: 81.05 kB / 0.5623 GB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.5829, allocations: 299.5 kB / 0.5626 GB, free: 13.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5829, allocations: 29.7 kB / 0.5626 GB, free: 13.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.583, allocations: 138.5 kB / 0.5627 GB, free: 13.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.5831, allocations: 98.88 kB / 0.5628 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.5831, allocations: 0 / 0.5628 GB, free: 13.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5832, allocations: 347.5 kB / 0.5632 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.5835, allocations: 264.9 kB / 0.5634 GB, free: 12.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.5839, allocations: 315.5 kB / 0.5637 GB, free: 12.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.5843, allocations: 306.7 kB / 0.564 GB, free: 12.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5843, allocations: 3.938 kB / 0.564 GB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008768/0.5852, allocations: 0.711 MB / 0.5647 GB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5852, allocations: 7.938 kB / 0.5647 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5853, allocations: 4 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5853, allocations: 4 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5858, allocations: 103.5 kB / 0.5648 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.5858, allocations: 0.7031 kB / 0.5648 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.586, allocations: 63.12 kB / 0.5649 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.586, allocations: 11.98 kB / 0.5649 GB, free: 11.65 MB / 378.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.0001516/0.5862, allocations: 118.8 kB / 0.565 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004996/0.5867, allocations: 373.1 kB / 0.5654 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.5868, allocations: 27.62 kB / 0.5654 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.5869, allocations: 39.38 kB / 0.5654 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5869, allocations: 8 kB / 0.5654 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5869, allocations: 0 / 0.5654 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5869, allocations: 0 / 0.5654 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.5873, allocations: 304.2 kB / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5873, allocations: 0 / 0.5657 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.5876, allocations: 47.55 kB / 0.5658 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5876, allocations: 3.953 kB / 0.5658 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.5877, allocations: 15.55 kB / 0.5658 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5877, allocations: 7.938 kB / 0.5658 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5877, allocations: 0 / 0.5658 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.5885, allocations: 0.71 MB / 0.5665 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.5886, allocations: 112.7 kB / 0.5666 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.5886, allocations: 11.31 kB / 0.5666 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.5888, allocations: 11.98 kB / 0.5666 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.5889, allocations: 15.97 kB / 0.5666 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.5889, allocations: 11.31 kB / 0.5667 GB, free: 10.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5891, allocations: 205.2 kB / 0.5668 GB, free: 9.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5891, allocations: 0 / 0.5668 GB, free: 9.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008674/0.59, allocations: 259.8 kB / 0.5671 GB, free: 9.656 MB / 378.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.001438/0.5914, allocations: 1.503 MB / 0.5686 GB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.5922, allocations: 0.6933 MB / 0.5692 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5922, allocations: 0 / 0.5692 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.5925, allocations: 175.6 kB / 0.5694 GB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.5928, allocations: 40.61 kB / 0.5694 GB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5942, allocations: 0.9777 MB / 0.5704 GB, free: 6.688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.5946, allocations: 0.8102 MB / 0.5712 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.5948, allocations: 74.02 kB / 0.5713 GB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.595, allocations: 100.6 kB / 0.5714 GB, free: 5.754 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.595, allocations: 0 / 0.5714 GB, free: 5.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.6236, allocations: 8.879 MB / 0.58 GB, free: 12.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.6238, allocations: 129.6 kB / 0.5802 GB, free: 12.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.818, allocations: 0 / 0.5802 GB, free: 12.73 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)