Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247 MB, free: 10.42 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.2435/0.2435, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002533/0.002533, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3933, allocations: 62.46 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003079/0.3964, allocations: 1.654 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.3974, allocations: 0.6837 MB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3974, allocations: 0 / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.3977, allocations: 32.12 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.3979, allocations: 41.14 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.3979, allocations: 0 / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.398, allocations: 36.17 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.3981, allocations: 1.75 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.3981, allocations: 9.312 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.3982, allocations: 23.06 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3982, allocations: 1.812 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.3983, allocations: 7.125 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.3983, allocations: 19.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.3983, allocations: 25.53 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3985, allocations: 71.73 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3985, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3985, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3985, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004001/0.3989, allocations: 374.4 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3989, allocations: 7.844 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.399, allocations: 37.75 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.399, allocations: 12.28 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3992, allocations: 179.3 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3992, allocations: 5.5 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.3992, allocations: 3.344 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3994, allocations: 118.7 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3994, allocations: 7.875 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3994, allocations: 1.375 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.3995, allocations: 23.11 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.3995, allocations: 43.28 kB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.4002, allocations: 0.8908 MB / 0.5348 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.4003, allocations: 166.5 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.4004, allocations: 84.17 kB / 0.535 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.4004, allocations: 83.16 kB / 0.5351 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.4006, allocations: 107.2 kB / 0.5352 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4006, allocations: 4 kB / 0.5352 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.858e-05/0.4007, allocations: 41.72 kB / 0.5353 GB, free: 9.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.4007, allocations: 132.1 kB / 0.5354 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.4009, allocations: 176.9 kB / 0.5356 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4009, allocations: 25.7 kB / 0.5356 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.401, allocations: 151.8 kB / 0.5357 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.4011, allocations: 10.73 kB / 0.5357 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.4011, allocations: 39.42 kB / 0.5358 GB, free: 8.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4013, allocations: 323 kB / 0.5361 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.4013, allocations: 29.86 kB / 0.5361 GB, free: 8.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4015, allocations: 163.8 kB / 0.5363 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.4017, allocations: 202.3 kB / 0.5365 GB, free: 7.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4017, allocations: 1.375 kB / 0.5365 GB, free: 7.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002869/0.402, allocations: 202.3 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.402, allocations: 7.156 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.402, allocations: 8.594 kB / 0.5367 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.402, allocations: 5.656 kB / 0.5367 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4022, allocations: 40.55 kB / 0.5367 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4022, allocations: 18.33 kB / 0.5367 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.4023, allocations: 19.48 kB / 0.5368 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4023, allocations: 14 kB / 0.5368 GB, free: 7.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001322/0.4024, allocations: 209.8 kB / 0.537 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.4025, allocations: 121.7 kB / 0.5371 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.4026, allocations: 112.9 kB / 0.5372 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-05/0.4027, allocations: 185.5 kB / 0.5374 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-05/0.4027, allocations: 185.3 kB / 0.5375 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.4028, allocations: 181.7 kB / 0.5377 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.4031, allocations: 424.2 kB / 0.5381 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-05/0.4032, allocations: 106.7 kB / 0.5382 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.4032, allocations: 110.2 kB / 0.5383 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.4033, allocations: 176.3 kB / 0.5385 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.4034, allocations: 181.5 kB / 0.5387 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/0.4034, allocations: 181.5 kB / 0.5388 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-05/0.4035, allocations: 189.5 kB / 0.539 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.4037, allocations: 313.7 kB / 0.5393 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.4038, allocations: 192.6 kB / 0.5395 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.4039, allocations: 185.6 kB / 0.5397 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.404, allocations: 102.3 kB / 0.5398 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.4041, allocations: 185.6 kB / 0.54 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.4041, allocations: 101 kB / 0.5401 GB, free: 4.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4043, allocations: 137.5 kB / 0.5402 GB, free: 4.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4043, allocations: 1.125 kB / 0.5402 GB, free: 4.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4046, allocations: 11 kB / 0.5402 GB, free: 4.133 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0009507/0.4055, allocations: 0.9074 MB / 0.5411 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4057, allocations: 75.59 kB / 0.5412 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4057, allocations: 0 / 0.5412 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.4057, allocations: 1.125 kB / 0.5412 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4061, allocations: 464.9 kB / 0.5416 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4079, allocations: 1.89 MB / 0.5434 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4083, allocations: 0.6998 MB / 0.5441 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.4085, allocations: 50.02 kB / 0.5442 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4085, allocations: 22.75 kB / 0.5442 GB, free: 192 kB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4085, allocations: 3.938 kB / 0.5442 GB, free: 188 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.4346, allocations: 2.128 MB / 0.5463 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.668, allocations: 6.469 kB / 0.5463 GB, free: 15 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1)