Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.43 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.2295/0.2295, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002391/0.002391, allocations: 91.8 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3926, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002966/0.3956, allocations: 1.62 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.3966, allocations: 0.5356 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.3966, allocations: 5.375 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.3969, allocations: 78.17 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.3972, allocations: 97.34 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3975, allocations: 94.44 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3977, allocations: 84.28 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3978, allocations: 19.98 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.3978, allocations: 40.64 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.398, allocations: 51.42 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.398, allocations: 2.781 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.3981, allocations: 50.03 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.3982, allocations: 15.22 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.3983, allocations: 37.58 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3985, allocations: 113.1 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3985, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3985, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3985, allocations: 5.719 kB / 0.5334 GB, free: 11.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005197/0.399, allocations: 414.7 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3991, allocations: 9.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.3991, allocations: 32.66 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3991, allocations: 13.66 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3994, allocations: 207.5 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3994, allocations: 7 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3994, allocations: 1.781 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3996, allocations: 59.14 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3996, allocations: 8 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3996, allocations: 3.938 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3996, allocations: 1.688 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3997, allocations: 26.81 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.4001, allocations: 287.2 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4003, allocations: 50.5 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.4003, allocations: 13.2 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4004, allocations: 16.12 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4004, allocations: 31.94 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4004, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009037/0.4013, allocations: 225.7 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4014, allocations: 52.78 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.4016, allocations: 211.2 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4016, allocations: 25.7 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.4017, allocations: 109.6 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.4017, allocations: 31.86 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.4018, allocations: 23.16 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4019, allocations: 327 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.402, allocations: 21.73 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.4021, allocations: 29.72 kB / 0.5355 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4023, allocations: 56.7 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4023, allocations: 0 / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002169/0.4025, allocations: 112.2 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4025, allocations: 5.5 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4025, allocations: 0 / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4025, allocations: 1.375 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4027, allocations: 21.67 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4027, allocations: 3.938 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.4027, allocations: 12.11 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4027, allocations: 5.312 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.0001111/0.4029, allocations: 128.8 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.4029, allocations: 13.03 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.4032, allocations: 116.6 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4032, allocations: 0 / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4032, allocations: 9.219 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4032, allocations: 3.984 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.4038, allocations: 410.6 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4038, allocations: 0.8438 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.4039, allocations: 18.19 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.4039, allocations: 5.422 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4039, allocations: 1.219 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4039, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4039, allocations: 1.094 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4042, allocations: 204.3 kB / 0.5366 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4042, allocations: 92.39 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.4043, allocations: 4.938 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.4043, allocations: 3.469 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.4044, allocations: 7.234 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4044, allocations: 2.406 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.4045, allocations: 168 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 4 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000247/0.4048, allocations: 26.55 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.002108/0.4069, allocations: 1.088 MB / 0.538 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4072, allocations: 62.91 kB / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4072, allocations: 0 / 0.538 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.4073, allocations: 41.81 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4077, allocations: 14.84 kB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4097, allocations: 1.669 MB / 0.5397 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4101, allocations: 0.7101 MB / 0.5404 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.4101, allocations: 16.62 kB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.4102, allocations: 33.86 kB / 0.5405 GB, free: 4.957 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4102, allocations: 0 / 0.5405 GB, free: 4.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.4351, allocations: 3.122 MB / 0.5435 GB, free: 3.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.438, allocations: 19.09 kB / 0.5435 GB, free: 3.25 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1)