Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 122.8 kB / 17.79 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.001401/0.001401, allocations: 201.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.452/1.452, allocations: 227.4 MB / 247 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.2405/0.2405, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002226/0.002226, allocations: 76.16 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3453, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003175/0.3485, allocations: 1.664 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3497, allocations: 0.5826 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.3498, allocations: 1.25 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.3505, allocations: 456.9 kB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.351, allocations: 287.7 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.3516, allocations: 189.5 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.3519, allocations: 175.9 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.352, allocations: 17.61 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.3522, allocations: 119.5 kB / 0.534 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.3525, allocations: 216 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3525, allocations: 3.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3527, allocations: 38.39 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3528, allocations: 82.88 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3529, allocations: 103.5 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.3533, allocations: 277 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3533, allocations: 0 / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3533, allocations: 1.188 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3534, allocations: 0 / 0.5347 GB, free: 10.64 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.0008692/0.3542, allocations: 0.6754 MB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3543, allocations: 9.531 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.3543, allocations: 36 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.3544, allocations: 42.69 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3547, allocations: 313.3 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3548, allocations: 1.656 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3548, allocations: 3.281 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.355, allocations: 66.48 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.355, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.355, allocations: 1.438 kB / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.355, allocations: 0 / 0.5358 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3552, allocations: 47.48 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.3558, allocations: 405.9 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3559, allocations: 54.05 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.356, allocations: 25 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3561, allocations: 5.031 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3561, allocations: 34.5 kB / 0.5364 GB, free: 9.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.387e-06/0.3561, allocations: 5.359 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009848/0.3571, allocations: 327.3 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.3572, allocations: 52.41 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/0.3582, allocations: 0.8722 MB / 0.5376 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3582, allocations: 29.7 kB / 0.5376 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3584, allocations: 217.9 kB / 0.5378 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.3584, allocations: 29.97 kB / 0.5378 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.3585, allocations: 18.94 kB / 0.5379 GB, free: 8.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3587, allocations: 359.8 kB / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3588, allocations: 37.44 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3589, allocations: 38.06 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.3592, allocations: 98.75 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3592, allocations: 1.125 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003416/0.3596, allocations: 162.4 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3596, allocations: 5.719 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3596, allocations: 0 / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3596, allocations: 1.156 kB / 0.5385 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3597, allocations: 26.81 kB / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3598, allocations: 0 / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.3598, allocations: 14.73 kB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3599, allocations: 2.281 kB / 0.5386 GB, free: 7.59 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 (7): * Single equations (assignments): 7 * 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.0002055/0.3601, allocations: 214.3 kB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.3601, allocations: 46.88 kB / 0.5388 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.3606, allocations: 192.4 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3606, allocations: 1 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3606, allocations: 0.9688 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3606, allocations: 3.938 kB / 0.539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.3614, allocations: 0.507 MB / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3614, allocations: 4 kB / 0.5395 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.3615, allocations: 27.19 kB / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3615, allocations: 0 / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3616, allocations: 5.312 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3616, allocations: 0 / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3616, allocations: 1.312 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.362, allocations: 258.7 kB / 0.5398 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.3621, allocations: 118.2 kB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3621, allocations: 5.156 kB / 0.5399 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3622, allocations: 5.625 kB / 0.5399 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3623, allocations: 7.547 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3623, allocations: 5.062 kB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006366/0.3629, allocations: 0.6552 MB / 0.5406 GB, free: 6.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3629, allocations: 3.938 kB / 0.5406 GB, free: 6.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3632, allocations: 33.62 kB / 0.5406 GB, free: 6.168 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 (7): * Single equations (assignments): 7 * 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.002007/0.3652, allocations: 1.092 MB / 0.5417 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3655, allocations: 96.64 kB / 0.5418 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3656, allocations: 1.125 kB / 0.5418 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3657, allocations: 44.31 kB / 0.5418 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3661, allocations: 34.38 kB / 0.5418 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.3704, allocations: 3.382 MB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3709, allocations: 0.8299 MB / 0.5459 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.594e-05/0.371, allocations: 24.95 kB / 0.546 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3712, allocations: 119.4 kB / 0.5461 GB, free: 1.57 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3712, allocations: 4 kB / 0.5461 GB, free: 1.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3997, allocations: 6.27 MB / 0.5522 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.012, allocations: 1.969 kB / 0.5522 GB, free: 11.39 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)