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.00145/0.00145, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001782/0.001782, allocations: 194 kB / 18.12 MB, free: 5.363 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.18 MB / 336.1 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.62 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003008/0.1031, allocations: 1.877 MB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1052, allocations: 1.416 MB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1053, allocations: 3.938 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1054, allocations: 23.84 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.1055, allocations: 19.78 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1067, allocations: 495 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.107, allocations: 267.2 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1072, allocations: 44.3 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1073, allocations: 95.59 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1075, allocations: 167.4 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.1075, allocations: 16 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.1085, allocations: 0.7291 MB / 473.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1086, allocations: 103.7 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1087, allocations: 131.2 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1098, allocations: 1.056 MB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1098, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1098, allocations: 0 / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1098, allocations: 0 / 475 MB, free: 8.312 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.001162/0.111, allocations: 0.7283 MB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.111, allocations: 8.031 kB / 475.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.1111, allocations: 46.73 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.1112, allocations: 28.56 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1114, allocations: 283.8 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1115, allocations: 20 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.1115, allocations: 27.91 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.112, allocations: 279.6 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1121, allocations: 0 / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1121, allocations: 8 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1121, allocations: 0 / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1125, allocations: 223.8 kB / 476.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1137, allocations: 0.7538 MB / 477.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.1141, allocations: 293.1 kB / 477.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1144, allocations: 193.8 kB / 477.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1145, allocations: 4 kB / 477.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1145, allocations: 42.5 kB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1145, allocations: 0 / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.000974/0.1155, allocations: 0.5327 MB / 478.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.1155, allocations: 85.09 kB / 478.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1159, allocations: 348.5 kB / 478.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1159, allocations: 29.7 kB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.116, allocations: 140.8 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.1161, allocations: 94.56 kB / 479.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1162, allocations: 125.6 kB / 479.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1164, allocations: 354.8 kB / 479.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.1168, allocations: 284.8 kB / 479.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.1173, allocations: 335.5 kB / 480.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.1208, allocations: 1.764 MB / 482 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1208, allocations: 0 / 482 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001088/0.1219, allocations: 0.7696 MB / 482.8 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1219, allocations: 4 kB / 482.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1219, allocations: 4 kB / 482.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.122, allocations: 4 kB / 482.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.1224, allocations: 91.88 kB / 482.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.1224, allocations: 3.984 kB / 482.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1226, allocations: 71.12 kB / 482.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.1227, allocations: 8 kB / 482.9 MB, free: 120 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.1229, allocations: 187.9 kB / 483.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.1231, allocations: 35.56 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.1232, allocations: 38.72 kB / 483.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1232, allocations: 3.938 kB / 483.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1232, allocations: 7.922 kB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1232, allocations: 4 kB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.1236, allocations: 337.3 kB / 483.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1237, allocations: 3.938 kB / 483.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.124, allocations: 47.97 kB / 483.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.124, allocations: 4 kB / 483.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.1241, allocations: 11.98 kB / 483.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1241, allocations: 8 kB / 483.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1241, allocations: 4 kB / 483.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1252, allocations: 0.7409 MB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.1254, allocations: 108.8 kB / 484.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.1254, allocations: 15.98 kB / 484.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1256, allocations: 8 kB / 484.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.1257, allocations: 23.91 kB / 484.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.1257, allocations: 8 kB / 484.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.126, allocations: 223 kB / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.126, allocations: 0 / 484.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000834/0.1268, allocations: 255.8 kB / 485 MB, free: 13.98 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 (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.002031/0.1288, allocations: 1.43 MB / 486.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1299, allocations: 0.725 MB / 487.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.13, allocations: 0 / 487.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1303, allocations: 199.8 kB / 487.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.1308, allocations: 39.11 kB / 487.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.1366, allocations: 4.572 MB / 492 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.137, allocations: 0.8109 MB / 492.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1372, allocations: 74.23 kB / 492.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.1374, allocations: 99.41 kB / 492.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1374, allocations: 3.938 kB / 492.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1598, allocations: 9.734 MB / 0.4909 GB, free: 12.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.1601, allocations: 190.9 kB / 0.4911 GB, free: 12.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.381, allocations: 0 / 0.4911 GB, free: 12.03 MB / 382.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/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)