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.00126/0.001261, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 203.9 kB / 16.79 MB, free: 6.84 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.31/1.31, allocations: 205.1 MB / 222.6 MB, free: 4.973 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.3187/0.3187, allocations: 43.49 MB / 313.5 MB, free: 8.352 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.001362/0.001362, allocations: 63.91 kB / 382.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09825, allocations: 57.78 MB / 439.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002893/0.1012, allocations: 1.88 MB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1034, allocations: 1.467 MB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1035, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1037, allocations: 19.86 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.1038, allocations: 27.78 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.105, allocations: 475.1 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1053, allocations: 271.2 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1054, allocations: 44.28 kB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1056, allocations: 99.61 kB / 444.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1058, allocations: 163.5 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.1058, allocations: 16 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.1068, allocations: 0.733 MB / 445.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1069, allocations: 111.7 kB / 445.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1071, allocations: 131.1 kB / 445.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1082, allocations: 1.048 MB / 446.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1082, allocations: 0 / 446.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1082, allocations: 0 / 446.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1082, allocations: 0 / 446.4 MB, free: 8.34 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.001192/0.1094, allocations: 0.7245 MB / 447.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1094, allocations: 8.031 kB / 447.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.1095, allocations: 50.73 kB / 447.1 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.1096, allocations: 28.56 kB / 447.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1099, allocations: 287.7 kB / 447.5 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1099, allocations: 12 kB / 447.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.11, allocations: 28 kB / 447.5 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.1104, allocations: 275.1 kB / 447.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1104, allocations: 0 / 447.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1104, allocations: 11.98 kB / 447.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1105, allocations: 4 kB / 447.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.1108, allocations: 219.8 kB / 448 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1119, allocations: 0.7577 MB / 448.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.1124, allocations: 288.9 kB / 449 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.1126, allocations: 197.6 kB / 449.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1127, allocations: 0 / 449.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1127, allocations: 38.5 kB / 449.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.1127, allocations: 0 / 449.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009088/0.1136, allocations: 0.5409 MB / 449.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1137, allocations: 81.11 kB / 449.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.114, allocations: 348.5 kB / 450.2 MB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.114, allocations: 37.64 kB / 450.3 MB, free: 4.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1141, allocations: 140.8 kB / 450.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.1142, allocations: 110.4 kB / 450.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1144, allocations: 117.7 kB / 450.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1145, allocations: 354.8 kB / 451 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.1149, allocations: 284.9 kB / 451.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.1153, allocations: 339.5 kB / 451.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/0.1185, allocations: 1.76 MB / 453.3 MB, free: 1.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1185, allocations: 0 / 453.3 MB, free: 1.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001009/0.1195, allocations: 0.7696 MB / 454.1 MB, free: 316 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1195, allocations: 4 kB / 454.1 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.1195, allocations: 7.984 kB / 454.1 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1196, allocations: 4 kB / 454.1 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.12, allocations: 95.88 kB / 454.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.12, allocations: 4 kB / 454.2 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1202, allocations: 67.11 kB / 454.3 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1202, allocations: 16 kB / 454.3 MB, free: 116 kB / 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.1666/0.2868, allocations: 176.8 kB / 454.5 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.287, allocations: 30.44 kB / 454.5 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.2871, allocations: 44.5 kB / 454.5 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2871, allocations: 4.266 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2871, allocations: 0 / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.2871, allocations: 4.281 kB / 454.6 MB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.2875, allocations: 339 kB / 454.9 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2876, allocations: 3.031 kB / 454.9 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.2879, allocations: 48.7 kB / 454.9 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2879, allocations: 0.5312 kB / 454.9 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.288, allocations: 18.56 kB / 455 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.288, allocations: 0 / 455 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.288, allocations: 3.844 kB / 455 MB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.2889, allocations: 0.7427 MB / 455.7 MB, free: 48.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.2889, allocations: 102.7 kB / 455.8 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.289, allocations: 14.84 kB / 455.8 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2892, allocations: 15.38 kB / 455.8 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.2893, allocations: 18.28 kB / 455.9 MB, free: 48.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2893, allocations: 8.531 kB / 455.9 MB, free: 48.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.2895, allocations: 221.2 kB / 456.1 MB, free: 48.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2895, allocations: 0 / 456.1 MB, free: 48.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008199/0.2903, allocations: 252.1 kB / 456.3 MB, free: 48.24 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.001345/0.2917, allocations: 1.44 MB / 457.8 MB, free: 47.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.2925, allocations: 0.7311 MB / 458.5 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2925, allocations: 0 / 458.5 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.2928, allocations: 198.3 kB / 458.7 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.2932, allocations: 36.83 kB / 458.7 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.2973, allocations: 4.568 MB / 463.3 MB, free: 45.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2975, allocations: 0.8063 MB / 464.1 MB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.2976, allocations: 70.28 kB / 464.2 MB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2978, allocations: 103.8 kB / 464.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2978, allocations: 0.875 kB / 464.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.3163, allocations: 9.736 MB / 474 MB, free: 43.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.3165, allocations: 176.3 kB / 474.2 MB, free: 43.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.374, allocations: 0 / 474.2 MB, free: 43.66 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)