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.001954/0.001954, allocations: 182.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009598/0.0009597, allocations: 86.59 kB / 267.1 MB, free: 9.277 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.3793/0.3793, allocations: 43.47 MB / 358.6 MB, free: 52.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.332e-05, allocations: 4 kB / 425.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 58.84 MB / 484.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.58, allocations: 86.71 MB / 0.5576 GB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.5803, allocations: 67.25 kB / 0.5576 GB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03139/0.6117, allocations: 9.449 MB / 0.5669 GB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6117, allocations: 0 / 0.5669 GB, free: 8.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.6118, allocations: 4 kB / 0.5669 GB, free: 8.77 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.001386/0.6132, allocations: 0.6598 MB / 0.5675 GB, free: 8.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6132, allocations: 8.031 kB / 0.5675 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.6133, allocations: 50.55 kB / 0.5676 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.6134, allocations: 34.97 kB / 0.5676 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.6139, allocations: 280.1 kB / 0.5679 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.6139, allocations: 21.22 kB / 0.5679 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.614, allocations: 31.84 kB / 0.5679 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.6145, allocations: 259.2 kB / 0.5682 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6145, allocations: 1.375 kB / 0.5682 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.6145, allocations: 8 kB / 0.5682 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6146, allocations: 0 / 0.5682 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.6149, allocations: 211.8 kB / 0.5684 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.6163, allocations: 0.7655 MB / 0.5691 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.6167, allocations: 273 kB / 0.5694 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.6169, allocations: 181.6 kB / 0.5696 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.617, allocations: 7.953 kB / 0.5696 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.617, allocations: 38.55 kB / 0.5696 GB, free: 5.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.617, allocations: 0 / 0.5696 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.000666/0.6177, allocations: 376 kB / 0.57 GB, free: 5.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.6178, allocations: 81.12 kB / 0.57 GB, free: 5.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.6181, allocations: 310.7 kB / 0.5703 GB, free: 5.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.6181, allocations: 37.7 kB / 0.5704 GB, free: 4.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.6183, allocations: 140.8 kB / 0.5705 GB, free: 4.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.6184, allocations: 106.5 kB / 0.5706 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6184, allocations: 11.94 kB / 0.5706 GB, free: 4.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6186, allocations: 346.8 kB / 0.5709 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.619, allocations: 272.6 kB / 0.5712 GB, free: 4.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.6194, allocations: 322.3 kB / 0.5715 GB, free: 3.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.6198, allocations: 313.6 kB / 0.5718 GB, free: 3.465 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6198, allocations: 7.953 kB / 0.5718 GB, free: 3.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001003/0.6209, allocations: 0.7229 MB / 0.5725 GB, free: 2.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6209, allocations: 8 kB / 0.5725 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.6209, allocations: 7.984 kB / 0.5725 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6209, allocations: 4 kB / 0.5725 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.6214, allocations: 95.88 kB / 0.5726 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6214, allocations: 4 kB / 0.5726 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.6217, allocations: 67.11 kB / 0.5727 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.6217, allocations: 16 kB / 0.5727 GB, free: 2.531 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.000182/0.6219, allocations: 131.2 kB / 0.5728 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.622, allocations: 27.58 kB / 0.5729 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.6221, allocations: 42.83 kB / 0.5729 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.6221, allocations: 4 kB / 0.5729 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.6222, allocations: 3.938 kB / 0.5729 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.6222, allocations: 0 / 0.5729 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.6226, allocations: 345.3 kB / 0.5732 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6226, allocations: 0 / 0.5732 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.623, allocations: 51.92 kB / 0.5733 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.623, allocations: 0 / 0.5733 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.6231, allocations: 15.98 kB / 0.5733 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6231, allocations: 0 / 0.5733 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6231, allocations: 4 kB / 0.5733 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.624, allocations: 0.7257 MB / 0.574 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.6241, allocations: 112.8 kB / 0.5741 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.6242, allocations: 11.94 kB / 0.5741 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6244, allocations: 15.98 kB / 0.5742 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.6245, allocations: 15.98 kB / 0.5742 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6245, allocations: 7.984 kB / 0.5742 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.6247, allocations: 218.2 kB / 0.5744 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6247, allocations: 4 kB / 0.5744 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009033/0.6256, allocations: 271.7 kB / 0.5746 GB, free: 464 kB / 394.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.002008/0.6277, allocations: 1.532 MB / 0.5761 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.6287, allocations: 0.7096 MB / 0.5768 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6287, allocations: 3.938 kB / 0.5768 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.6289, allocations: 179.9 kB / 0.577 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.6293, allocations: 37.12 kB / 0.577 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.6311, allocations: 1.005 MB / 0.578 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.6316, allocations: 0.8185 MB / 0.5788 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.6318, allocations: 66.03 kB / 0.5789 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.632, allocations: 107.4 kB / 0.579 GB, free: 11.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.632, allocations: 0 / 0.579 GB, free: 11.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.6589, allocations: 9.444 MB / 0.5882 GB, free: 2.535 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6592, allocations: 146.9 kB / 0.5884 GB, free: 2.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.988, allocations: 0 / 0.5884 GB, free: 2.301 MB / 410.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)