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.002038/0.002038, allocations: 109.2 kB / 16.27 MB, free: 6.41 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.001519/0.001519, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.702/1.702, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2387/0.2387, allocations: 43.53 MB / 314 MB, free: 0.5195 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.001628/0.001628, allocations: 72.12 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.104, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002786/0.1068, allocations: 1.828 MB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1086, allocations: 1.373 MB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1088, allocations: 7.938 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.1089, allocations: 31.72 kB / 443.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.109, allocations: 35.66 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1103, allocations: 0.5572 MB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1106, allocations: 275.4 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1107, allocations: 56.44 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1108, allocations: 107.7 kB / 444.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.111, allocations: 175.4 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1111, allocations: 24 kB / 445.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.1119, allocations: 0.7526 MB / 445.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.112, allocations: 111.7 kB / 445.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1121, allocations: 147.1 kB / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.1134, allocations: 1.064 MB / 447.1 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1134, allocations: 4 kB / 447.1 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1134, allocations: 0 / 447.1 MB, free: 256 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1134, allocations: 0 / 447.1 MB, free: 256 kB / 318.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.001671/0.1151, allocations: 0.7245 MB / 447.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1151, allocations: 19.89 kB / 447.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.1152, allocations: 46.73 kB / 447.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1153, allocations: 32.47 kB / 448 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.1157, allocations: 275.8 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1158, allocations: 12 kB / 448.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.1159, allocations: 24 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.1164, allocations: 271.2 kB / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1165, allocations: 3.938 kB / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1165, allocations: 11.98 kB / 448.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1165, allocations: 4 kB / 448.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.117, allocations: 219.8 kB / 448.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1182, allocations: 0.7616 MB / 449.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.1187, allocations: 284.9 kB / 449.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.119, allocations: 193.6 kB / 450 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.119, allocations: 7.984 kB / 450 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1191, allocations: 42.5 kB / 450 MB, free: 13.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1191, allocations: 0 / 450 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009831/0.1201, allocations: 0.5333 MB / 450.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1201, allocations: 77.11 kB / 450.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.1205, allocations: 348.5 kB / 451 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1206, allocations: 33.7 kB / 451 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1207, allocations: 152.6 kB / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.471e-05/0.1208, allocations: 98.56 kB / 451.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.121, allocations: 121.7 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1211, allocations: 346.8 kB / 451.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.1216, allocations: 292.6 kB / 452 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.122, allocations: 339.2 kB / 452.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/0.1254, allocations: 1.764 MB / 454.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1254, allocations: 7.938 kB / 454.1 MB, free: 9 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001077/0.1265, allocations: 0.7657 MB / 454.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1266, allocations: 4 kB / 454.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.1266, allocations: 15.98 kB / 454.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1266, allocations: 0 / 454.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1271, allocations: 99.88 kB / 455 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1272, allocations: 7.984 kB / 455 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.1274, allocations: 63.2 kB / 455.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.1274, allocations: 12 kB / 455.1 MB, free: 8.027 MB / 334.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.0002616/0.1277, allocations: 192 kB / 455.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.1278, allocations: 31.55 kB / 455.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.1279, allocations: 38.72 kB / 455.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1279, allocations: 4 kB / 455.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1279, allocations: 0 / 455.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1279, allocations: 0 / 455.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1283, allocations: 341.3 kB / 455.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1283, allocations: 3.938 kB / 455.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.1287, allocations: 43.92 kB / 455.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1287, allocations: 0 / 455.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1287, allocations: 15.98 kB / 455.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1287, allocations: 4 kB / 455.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1287, allocations: 0 / 455.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.1297, allocations: 0.7522 MB / 456.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1298, allocations: 112.7 kB / 456.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.1298, allocations: 8 kB / 456.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1301, allocations: 15.98 kB / 456.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.1301, allocations: 15.98 kB / 456.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1301, allocations: 11.98 kB / 456.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.1303, allocations: 219 kB / 456.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1304, allocations: 0 / 456.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008099/0.1312, allocations: 248.1 kB / 457.1 MB, free: 5.906 MB / 334.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.001667/0.1328, allocations: 1.449 MB / 458.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1339, allocations: 0.7521 MB / 459.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1339, allocations: 4 kB / 459.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1342, allocations: 195.8 kB / 459.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.1347, allocations: 47.98 kB / 459.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.1401, allocations: 4.481 MB / 464 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1405, allocations: 0.8104 MB / 464.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.1408, allocations: 74.23 kB / 464.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.141, allocations: 103.4 kB / 465 MB, free: 13.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.141, allocations: 0 / 465 MB, free: 13.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.1745, allocations: 10.01 MB / 475 MB, free: 3.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.042, allocations: 8 kB / 475 MB, free: 3.848 MB / 350.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)