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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 104 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 196.8 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3391/0.3391, allocations: 43.5 MB / 313.6 MB, free: 8.609 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 63.91 kB / 382.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00352/0.1366, allocations: 1.876 MB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1387, allocations: 1.381 MB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.1388, allocations: 4 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.1389, allocations: 27.78 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.139, allocations: 19.8 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1404, allocations: 0.5147 MB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1407, allocations: 275.3 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1408, allocations: 48.28 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.141, allocations: 119.5 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1412, allocations: 171.5 kB / 444.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1413, allocations: 28 kB / 444.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.1422, allocations: 0.7565 MB / 445.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1423, allocations: 119.7 kB / 445.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1424, allocations: 139.1 kB / 445.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1435, allocations: 1.068 MB / 446.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1435, allocations: 0 / 446.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1435, allocations: 0 / 446.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1435, allocations: 0 / 446.6 MB, free: 8.082 MB / 382.1 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.001224/0.1447, allocations: 0.7322 MB / 447.4 MB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1448, allocations: 11.89 kB / 447.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.1448, allocations: 46.73 kB / 447.4 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.1449, allocations: 32.56 kB / 447.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.1452, allocations: 291.6 kB / 447.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1453, allocations: 12 kB / 447.7 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.1453, allocations: 24 kB / 447.8 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.1458, allocations: 279.2 kB / 448 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1458, allocations: 0 / 448 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1459, allocations: 8 kB / 448.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1459, allocations: 4 kB / 448.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1463, allocations: 227.7 kB / 448.3 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1475, allocations: 0.7499 MB / 449 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.1479, allocations: 296.9 kB / 449.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.1482, allocations: 193.6 kB / 449.5 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1483, allocations: 4 kB / 449.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1483, allocations: 38.5 kB / 449.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1483, allocations: 0 / 449.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001018/0.1494, allocations: 0.5371 MB / 450.1 MB, free: 4.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1494, allocations: 81.11 kB / 450.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.1498, allocations: 348.5 kB / 450.5 MB, free: 3.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.1498, allocations: 33.7 kB / 450.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.1499, allocations: 140.8 kB / 450.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.15, allocations: 106.5 kB / 450.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1502, allocations: 117.7 kB / 450.9 MB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1503, allocations: 354.8 kB / 451.2 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.1507, allocations: 284.8 kB / 451.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.1512, allocations: 347.2 kB / 451.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.1545, allocations: 1.76 MB / 453.6 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1545, allocations: 0 / 453.6 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00109/0.1556, allocations: 0.7697 MB / 454.4 MB, free: 36 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1556, allocations: 7.984 kB / 454.4 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.1557, allocations: 4 kB / 454.4 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1557, allocations: 4 kB / 454.4 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.221/0.3767, allocations: 93.17 kB / 454.5 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.3767, allocations: 2.844 kB / 454.5 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.377, allocations: 63.62 kB / 454.6 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.3771, allocations: 13.64 kB / 454.6 MB, free: 48.6 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.3773, allocations: 179.3 kB / 454.7 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.3774, allocations: 29.81 kB / 454.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3775, allocations: 40.03 kB / 454.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3775, allocations: 6.344 kB / 454.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3775, allocations: 3.875 kB / 454.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3776, allocations: 5 kB / 454.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.3779, allocations: 337.9 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3779, allocations: 0 / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.3783, allocations: 45.17 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.3783, allocations: 6.156 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3783, allocations: 11.97 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3783, allocations: 2.594 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3783, allocations: 3.562 kB / 455.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.3792, allocations: 0.7452 MB / 456 MB, free: 48.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3792, allocations: 113.7 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.3793, allocations: 11.89 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3795, allocations: 11.88 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.3796, allocations: 19.36 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3796, allocations: 9.531 kB / 456.1 MB, free: 47.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3798, allocations: 217.3 kB / 456.3 MB, free: 47.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3798, allocations: 0 / 456.3 MB, free: 47.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007837/0.3806, allocations: 247 kB / 456.6 MB, free: 47.9 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.382, allocations: 1.451 MB / 458 MB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009655/0.383, allocations: 0.7525 MB / 458.8 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.383, allocations: 0 / 458.8 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3833, allocations: 191.3 kB / 459 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3837, allocations: 43.95 kB / 459 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.3882, allocations: 4.565 MB / 463.6 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3885, allocations: 0.8006 MB / 464.4 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3887, allocations: 75.83 kB / 464.5 MB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3889, allocations: 101.4 kB / 464.6 MB, free: 44.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3889, allocations: 2.844 kB / 464.6 MB, free: 44.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/0.5189, allocations: 9.88 MB / 474.4 MB, free: 43.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.519, allocations: 182.9 kB / 474.6 MB, free: 43.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.821, allocations: 0 / 474.6 MB, free: 43.32 MB / 382.1 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/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)