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.0009255/0.0009256, allocations: 92.17 kB / 15.71 MB, free: 452 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.001564/0.001564, allocations: 182.5 kB / 16.59 MB, free: 6.844 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.379/1.379, allocations: 205.4 MB / 222.8 MB, free: 5.871 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.372/0.372, allocations: 43.56 MB / 314.6 MB, free: 8.918 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.0004915/0.0004916, allocations: 12 kB / 384 MB, free: 8.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.86 MB / 442.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002099/0.1263, allocations: 1.511 MB / 444.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1284, allocations: 1.293 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1285, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.1287, allocations: 27.78 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.1288, allocations: 27.78 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1301, allocations: 467.1 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1305, allocations: 247.3 kB / 446.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1306, allocations: 40.22 kB / 446.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1308, allocations: 111.6 kB / 446.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.131, allocations: 155.5 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.1311, allocations: 8 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1321, allocations: 0.6901 MB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1323, allocations: 103.8 kB / 447.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.1324, allocations: 65.52 kB / 447.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1335, allocations: 0.8305 MB / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1335, allocations: 0 / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1335, allocations: 0 / 448.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1335, allocations: 0 / 448.4 MB, free: 7.656 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.001392/0.1349, allocations: 0.6931 MB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.135, allocations: 8.031 kB / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.122e-05/0.1351, allocations: 46.52 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1352, allocations: 31.62 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.1355, allocations: 279.1 kB / 449.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1356, allocations: 12 kB / 449.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.1356, allocations: 23.91 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.1361, allocations: 283.1 kB / 449.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1361, allocations: 0 / 449.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1362, allocations: 4 kB / 449.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1362, allocations: 7.953 kB / 449.8 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.1366, allocations: 227.8 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1377, allocations: 0.7655 MB / 450.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1382, allocations: 296.9 kB / 451.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1385, allocations: 189.6 kB / 451.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.1385, allocations: 4 kB / 451.3 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1386, allocations: 38.55 kB / 451.3 MB, free: 4.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 3.376e-06/0.1386, allocations: 3.984 kB / 451.3 MB, free: 4.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000979/0.1395, allocations: 0.5573 MB / 451.9 MB, free: 4.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1396, allocations: 81.11 kB / 451.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1399, allocations: 344.5 kB / 452.3 MB, free: 3.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.14, allocations: 33.7 kB / 452.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.1401, allocations: 140.8 kB / 452.4 MB, free: 3.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.1402, allocations: 98.55 kB / 452.5 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.1402, allocations: 11.94 kB / 452.6 MB, free: 3.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1404, allocations: 346.8 kB / 452.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.1408, allocations: 284.9 kB / 453.2 MB, free: 2.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.1413, allocations: 347.5 kB / 453.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.1418, allocations: 333.8 kB / 453.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1418, allocations: 0 / 453.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001123/0.1429, allocations: 0.7646 MB / 454.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.143, allocations: 4 kB / 454.6 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.143, allocations: 8 kB / 454.6 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.143, allocations: 0 / 454.6 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.1436, allocations: 103.9 kB / 454.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1436, allocations: 0 / 454.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.1439, allocations: 71.12 kB / 454.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.144, allocations: 19.98 kB / 454.8 MB, free: 1.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.1444, allocations: 172.3 kB / 455 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1445, allocations: 23.62 kB / 455 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.1447, allocations: 42.7 kB / 455 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1447, allocations: 4 kB / 455 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1447, allocations: 7.938 kB / 455 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1447, allocations: 0 / 455 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.1454, allocations: 341.2 kB / 455.4 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1454, allocations: 4 kB / 455.4 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.1459, allocations: 51.91 kB / 455.4 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1459, allocations: 0 / 455.4 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.146, allocations: 19.92 kB / 455.5 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.146, allocations: 3.984 kB / 455.5 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.146, allocations: 0 / 455.5 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2461/0.3921, allocations: 0.753 MB / 456.2 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.3923, allocations: 107.8 kB / 456.3 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.3923, allocations: 19.33 kB / 456.3 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3926, allocations: 11.73 kB / 456.3 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.3927, allocations: 17.75 kB / 456.4 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3927, allocations: 8.094 kB / 456.4 MB, free: 46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3929, allocations: 218.5 kB / 456.6 MB, free: 45.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3929, allocations: 0 / 456.6 MB, free: 45.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009317/0.3939, allocations: 254.4 kB / 456.8 MB, free: 45.93 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 (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.001609/0.3955, allocations: 1.461 MB / 458.3 MB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.3964, allocations: 0.7306 MB / 459 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3964, allocations: 0 / 459 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.3967, allocations: 204.5 kB / 459.2 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.3972, allocations: 38.27 kB / 459.3 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.4007, allocations: 2.832 MB / 462.1 MB, free: 44.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4011, allocations: 0.8086 MB / 462.9 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.4013, allocations: 66.7 kB / 463 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4014, allocations: 101.3 kB / 463.1 MB, free: 43.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4015, allocations: 3.625 kB / 463.1 MB, free: 43.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4249, allocations: 9.828 MB / 472.9 MB, free: 43.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.4251, allocations: 171.3 kB / 473.1 MB, free: 42.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.537, allocations: 0 / 473.1 MB, free: 42.87 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/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) Environment - environmentSimulation: