Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 207.8 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.444/1.444, 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.3525/0.3525, allocations: 46.11 MB / 344.3 MB, free: 11.49 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.00227/0.00227, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003156/0.3366, allocations: 1.654 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3377, allocations: 0.5567 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3378, allocations: 1.75 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.3382, allocations: 97.17 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.3385, allocations: 106.8 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.3389, allocations: 119.9 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.3391, allocations: 103 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3393, allocations: 25.75 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.3394, allocations: 51.06 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3395, allocations: 62.06 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3396, allocations: 4.125 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3397, allocations: 47.61 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.3398, allocations: 38.8 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.3398, allocations: 43.86 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3401, allocations: 127.1 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3401, allocations: 1.375 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3401, allocations: 0 / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3401, allocations: 0 / 0.5336 GB, free: 11.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005995/0.3407, allocations: 442.3 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3408, allocations: 13.56 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.3408, allocations: 37.5 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3409, allocations: 18.34 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3411, allocations: 211.2 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3412, allocations: 11.11 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3412, allocations: 7.109 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3414, allocations: 72.98 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3414, allocations: 3.953 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3414, allocations: 5.375 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3414, allocations: 1.375 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3416, allocations: 44.02 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3421, allocations: 347.3 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3422, allocations: 64.92 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.3423, allocations: 28.34 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.3423, allocations: 1.469 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3424, allocations: 39.94 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3424, allocations: 0 / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001183/0.3436, allocations: 338.5 kB / 0.5352 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3436, allocations: 56.59 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3439, allocations: 239 kB / 0.5355 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3439, allocations: 26.86 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.344, allocations: 118.9 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3441, allocations: 44.61 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3442, allocations: 30.83 kB / 0.5357 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3443, allocations: 323.8 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3444, allocations: 43.41 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3445, allocations: 56.5 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3448, allocations: 115.7 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3448, allocations: 0 / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000297/0.3451, allocations: 151.3 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3451, allocations: 5.562 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3451, allocations: 3.938 kB / 0.5364 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3451, allocations: 5.25 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3453, allocations: 32.48 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3453, allocations: 1.156 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3453, allocations: 11.17 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3454, allocations: 3.312 kB / 0.5364 GB, free: 8.75 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 (13): * Single equations (assignments): 13 * 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.0001185/0.3455, allocations: 135.8 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.3455, allocations: 14.66 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.3459, allocations: 189.8 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.346, allocations: 1.344 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.346, allocations: 1.094 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.346, allocations: 0 / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.3467, allocations: 0.4899 MB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3467, allocations: 0 / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.3468, allocations: 28.52 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3468, allocations: 5.219 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3468, allocations: 2.156 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3469, allocations: 5.062 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3469, allocations: 5.031 kB / 0.5373 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.3472, allocations: 257.7 kB / 0.5375 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.3473, allocations: 96.47 kB / 0.5376 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3473, allocations: 5.094 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.3474, allocations: 4.438 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3475, allocations: 12.8 kB / 0.5376 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3475, allocations: 3.938 kB / 0.5376 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.3477, allocations: 178.5 kB / 0.5378 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3477, allocations: 0 / 0.5378 GB, free: 7.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.348, allocations: 31 kB / 0.5378 GB, free: 7.594 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 (13): * Single equations (assignments): 13 * 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.002244/0.3502, allocations: 1.143 MB / 0.5389 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.3505, allocations: 113.9 kB / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3506, allocations: 0 / 0.539 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3507, allocations: 59.97 kB / 0.5391 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3511, allocations: 30.97 kB / 0.5391 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3535, allocations: 1.921 MB / 0.541 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3539, allocations: 0.7198 MB / 0.5417 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.354, allocations: 32.17 kB / 0.5417 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.3541, allocations: 45.11 kB / 0.5418 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3541, allocations: 0 / 0.5418 GB, free: 4.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3801, allocations: 3.621 MB / 0.5453 GB, free: 2.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.556, allocations: 16.28 kB / 0.5453 GB, free: 2.352 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_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_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1)