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.001025/0.001025, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.491/1.491, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001/0.001, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2069/0.2069, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4579, allocations: 86.8 MB / 0.5636 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4581, allocations: 63.78 kB / 0.5637 GB, free: 12.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03119/0.4893, allocations: 9.474 MB / 0.5729 GB, free: 4.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4893, allocations: 4 kB / 0.5729 GB, free: 4.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.4894, allocations: 8 kB / 0.5729 GB, free: 4.676 MB / 378.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.00142/0.4908, allocations: 0.6875 MB / 0.5736 GB, free: 3.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4909, allocations: 8.031 kB / 0.5736 GB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.491, allocations: 45.23 kB / 0.5737 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.491, allocations: 35.47 kB / 0.5737 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.4915, allocations: 307.3 kB / 0.574 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4915, allocations: 10.94 kB / 0.574 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.4916, allocations: 26.62 kB / 0.574 GB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.4921, allocations: 278.3 kB / 0.5743 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4921, allocations: 0 / 0.5743 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.4921, allocations: 7 kB / 0.5743 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4921, allocations: 4 kB / 0.5743 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.4925, allocations: 236.5 kB / 0.5745 GB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4938, allocations: 0.7638 MB / 0.5753 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.4942, allocations: 289.8 kB / 0.5755 GB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4942, allocations: 8.156 kB / 0.5756 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4943, allocations: 38.45 kB / 0.5756 GB, free: 2.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.247e-06/0.4943, allocations: 3.984 kB / 0.5756 GB, free: 2.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009434/0.4952, allocations: 0.554 MB / 0.5761 GB, free: 1.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4953, allocations: 81.11 kB / 0.5762 GB, free: 1.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4956, allocations: 312.4 kB / 0.5765 GB, free: 1.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.4956, allocations: 29.58 kB / 0.5765 GB, free: 1.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.4957, allocations: 151.8 kB / 0.5767 GB, free: 1.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.816e-05/0.4958, allocations: 98.09 kB / 0.5768 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.4958, allocations: 7.688 kB / 0.5768 GB, free: 1.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.496, allocations: 350 kB / 0.5771 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.4964, allocations: 280.9 kB / 0.5774 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.4968, allocations: 342.9 kB / 0.5777 GB, free: 360 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.4973, allocations: 328.6 kB / 0.578 GB, free: 144 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4973, allocations: 0 / 0.578 GB, free: 144 kB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009995/0.4983, allocations: 0.7642 MB / 0.5788 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4983, allocations: 8 kB / 0.5788 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.4983, allocations: 4 kB / 0.5788 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4984, allocations: 0 / 0.5788 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.4988, allocations: 102.9 kB / 0.5789 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4989, allocations: 4 kB / 0.5789 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4991, allocations: 70.59 kB / 0.579 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.4991, allocations: 11.98 kB / 0.579 GB, free: 15.41 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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 () * Number of clocked 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.0002371/0.4994, allocations: 189.3 kB / 0.5791 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.4994, allocations: 30.52 kB / 0.5792 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.4996, allocations: 39.95 kB / 0.5792 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4996, allocations: 4 kB / 0.5792 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4996, allocations: 3.938 kB / 0.5792 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4996, allocations: 4 kB / 0.5792 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.5, allocations: 343.6 kB / 0.5796 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5, allocations: 0 / 0.5796 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.5003, allocations: 43.97 kB / 0.5796 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5004, allocations: 7.953 kB / 0.5796 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.5004, allocations: 13.17 kB / 0.5796 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5004, allocations: 7.938 kB / 0.5796 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5004, allocations: 0 / 0.5796 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.5014, allocations: 0.7658 MB / 0.5804 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.5015, allocations: 112.8 kB / 0.5805 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.5015, allocations: 18.92 kB / 0.5805 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.5018, allocations: 11.86 kB / 0.5805 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.5018, allocations: 11.98 kB / 0.5805 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.5019, allocations: 11.75 kB / 0.5805 GB, free: 13.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001868/0.502, allocations: 222.7 kB / 0.5807 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5021, allocations: 0 / 0.5807 GB, free: 13.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008834/0.5029, allocations: 270.6 kB / 0.581 GB, free: 13.54 MB / 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 () * Number of clocked 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.001854/0.5048, allocations: 1.574 MB / 0.5825 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000896/0.5057, allocations: 0.7388 MB / 0.5833 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5057, allocations: 0 / 0.5833 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.506, allocations: 204.6 kB / 0.5835 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.5063, allocations: 38.84 kB / 0.5835 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.5083, allocations: 1.597 MB / 0.585 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.5087, allocations: 0.8132 MB / 0.5858 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.5088, allocations: 70.25 kB / 0.5859 GB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.509, allocations: 100.8 kB / 0.586 GB, free: 8.898 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.509, allocations: 0 / 0.586 GB, free: 8.898 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.5326, allocations: 9.292 MB / 0.5951 GB, free: 15.67 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.5329, allocations: 161.5 kB / 0.5952 GB, free: 15.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.565, allocations: 0 / 0.5952 GB, free: 15.43 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)