Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001937/0.001937, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002492/0.002492, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002275, allocations: 85.59 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1066, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003096/0.1098, allocations: 1.858 MB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.112, allocations: 1.403 MB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.1121, allocations: 4 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.1123, allocations: 27.72 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.1124, allocations: 35.66 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1138, allocations: 0.5761 MB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1141, allocations: 279.3 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1143, allocations: 40.3 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1145, allocations: 123.6 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.1147, allocations: 171.4 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.1148, allocations: 24 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1159, allocations: 0.7643 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.116, allocations: 111.7 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1162, allocations: 139.2 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1174, allocations: 1.087 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1174, allocations: 0 / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1174, allocations: 0 / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1174, allocations: 4 kB / 486.8 MB, free: 14.45 MB / 366.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.001276/0.1187, allocations: 0.7244 MB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1188, allocations: 8.031 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.1188, allocations: 46.73 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.119, allocations: 40.55 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1194, allocations: 283.8 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1194, allocations: 12 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.1195, allocations: 27.91 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.12, allocations: 271.2 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.12, allocations: 0 / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.1201, allocations: 4 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1201, allocations: 4 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.1205, allocations: 226.9 kB / 488.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1218, allocations: 0.7616 MB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.1223, allocations: 289 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.1227, allocations: 193.6 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1227, allocations: 7.938 kB / 489.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1228, allocations: 34.5 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.1228, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001234/0.124, allocations: 0.5441 MB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1241, allocations: 77.11 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.1245, allocations: 356.5 kB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1245, allocations: 37.64 kB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1246, allocations: 136.8 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.1248, allocations: 102.5 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.125, allocations: 117.7 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.1252, allocations: 350.8 kB / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.1257, allocations: 280.9 kB / 491.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.1262, allocations: 343.5 kB / 492 MB, free: 8.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.13, allocations: 1.777 MB / 493.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.13, allocations: 0 / 493.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001236/0.1312, allocations: 0.7658 MB / 494.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1313, allocations: 4 kB / 494.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.1313, allocations: 4 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1313, allocations: 8 kB / 494.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1318, allocations: 99.86 kB / 494.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1318, allocations: 0 / 494.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.132, allocations: 67.11 kB / 494.8 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1321, allocations: 12 kB / 494.8 MB, free: 6.234 MB / 366.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.0002474/0.1323, allocations: 183 kB / 494.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.1324, allocations: 31.56 kB / 495 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.1325, allocations: 42.7 kB / 495 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1325, allocations: 0 / 495 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1325, allocations: 4 kB / 495 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1326, allocations: 0 / 495 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.133, allocations: 341.2 kB / 495.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.133, allocations: 3.938 kB / 495.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1334, allocations: 55.91 kB / 495.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1334, allocations: 4 kB / 495.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.1335, allocations: 11.98 kB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1335, allocations: 4 kB / 495.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1335, allocations: 0 / 495.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1347, allocations: 0.7435 MB / 496.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.1348, allocations: 108.8 kB / 496.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.1348, allocations: 19.98 kB / 496.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1351, allocations: 15.92 kB / 496.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1352, allocations: 11.98 kB / 496.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1352, allocations: 15.98 kB / 496.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.1354, allocations: 223 kB / 496.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1354, allocations: 0 / 496.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008552/0.1363, allocations: 247.9 kB / 496.8 MB, free: 4.105 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.001853/0.1382, allocations: 1.436 MB / 498.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1393, allocations: 0.76 MB / 499 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1393, allocations: 0 / 499 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.1397, allocations: 191.8 kB / 499.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.1402, allocations: 37.06 kB / 499.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.1462, allocations: 4.516 MB / 0.4919 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.1468, allocations: 0.8107 MB / 0.4927 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.147, allocations: 70.23 kB / 0.4928 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.1472, allocations: 99.41 kB / 0.4929 GB, free: 12.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1472, allocations: 0 / 0.4929 GB, free: 12.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.1835, allocations: 10.04 MB / 0.5027 GB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.277, allocations: 7.797 kB / 0.5027 GB, free: 2.094 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)