Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_0_0_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.001429/0.001429, allocations: 93.11 kB / 16.98 MB, free: 5.938 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.001868/0.001868, allocations: 185.1 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002104/0.1161, allocations: 1.495 MB / 473 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1181, allocations: 1.268 MB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1182, allocations: 4 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1183, allocations: 23.84 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.1184, allocations: 31.88 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1197, allocations: 438.6 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1199, allocations: 159.7 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1201, allocations: 48.2 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1202, allocations: 107.6 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1205, allocations: 155.5 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.1205, allocations: 12 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.1215, allocations: 0.6162 MB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1216, allocations: 103.7 kB / 476 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.1217, allocations: 69.5 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.1226, allocations: 0.8227 MB / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1226, allocations: 0 / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1226, allocations: 0 / 476.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1226, allocations: 4 kB / 476.9 MB, free: 8.301 MB / 350.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.001184/0.1238, allocations: 0.6853 MB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1239, allocations: 12.03 kB / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.1239, allocations: 46.55 kB / 477.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.124, allocations: 27.62 kB / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1243, allocations: 271.2 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1244, allocations: 11.95 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.1244, allocations: 27.91 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.1249, allocations: 287.7 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1249, allocations: 0 / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.125, allocations: 8 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.125, allocations: 4 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1254, allocations: 239.2 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1267, allocations: 0.7655 MB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1272, allocations: 292.9 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1272, allocations: 7.938 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1273, allocations: 31 kB / 479.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.1273, allocations: 0 / 479.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001065/0.1283, allocations: 0.5562 MB / 480.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.1284, allocations: 81.11 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.1288, allocations: 344.5 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.1289, allocations: 37.7 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.129, allocations: 136.8 kB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.1291, allocations: 106.5 kB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.1291, allocations: 4 kB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1293, allocations: 350.8 kB / 481.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.1297, allocations: 288.8 kB / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.1302, allocations: 339.5 kB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.1307, allocations: 329.9 kB / 482.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1307, allocations: 0 / 482.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001055/0.1318, allocations: 0.7706 MB / 482.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1318, allocations: 4 kB / 482.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.1318, allocations: 8 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1318, allocations: 7.953 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.1324, allocations: 95.88 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1324, allocations: 0 / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1326, allocations: 71.11 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.1326, allocations: 12 kB / 483 MB, free: 1.859 MB / 350.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.0002532/0.1329, allocations: 184.9 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.133, allocations: 27.62 kB / 483.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.331e-05/0.1331, allocations: 38.72 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1331, allocations: 3.938 kB / 483.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1331, allocations: 11.89 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1331, allocations: 3.984 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1335, allocations: 333.3 kB / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1336, allocations: 0 / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.1339, allocations: 51.97 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1339, allocations: 0 / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.134, allocations: 15.98 kB / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.134, allocations: 0 / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.134, allocations: 0 / 483.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.135, allocations: 0.7697 MB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.1351, allocations: 104.8 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.1351, allocations: 11.98 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1354, allocations: 16 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.1355, allocations: 31.91 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1355, allocations: 7.938 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.1357, allocations: 219 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1357, allocations: 0 / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009311/0.1367, allocations: 259.9 kB / 485.1 MB, free: 15.7 MB / 366.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.001992/0.1387, allocations: 1.531 MB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1397, allocations: 0.7364 MB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1397, allocations: 0 / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.1401, allocations: 196.9 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1405, allocations: 37.03 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1424, allocations: 1.555 MB / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1429, allocations: 0.8148 MB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.143, allocations: 70.23 kB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.1432, allocations: 99.41 kB / 490.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1432, allocations: 0 / 490.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.1788, allocations: 9.546 MB / 499.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.1792, allocations: 164.8 kB / 499.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.432, allocations: 4 kB / 499.8 MB, free: 0.9102 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)