Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001605/0.001604, 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.001804/0.001804, 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.497/1.497, 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.2252/0.2252, allocations: 46.11 MB / 344.3 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.002377/0.002377, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3138, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003565/0.3174, allocations: 1.646 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3186, allocations: 0.5586 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.3187, allocations: 1.375 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.3193, allocations: 448.6 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.3199, allocations: 295.8 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3203, allocations: 135 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.3207, allocations: 170.4 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3208, allocations: 22.8 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.321, allocations: 106.9 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.3213, allocations: 205.2 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3214, allocations: 4.125 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3215, allocations: 36.8 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3217, allocations: 90.5 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3218, allocations: 102.9 kB / 0.5343 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.3223, allocations: 270.1 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3223, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3223, allocations: 0.9688 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.3223, allocations: 0 / 0.5346 GB, free: 10.7 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.0009954/0.3233, allocations: 0.655 MB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3233, allocations: 9.625 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.3234, allocations: 35.84 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.3235, allocations: 51.8 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.3239, allocations: 307.1 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3239, allocations: 9.469 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3239, allocations: 2.5 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3241, allocations: 50.28 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3241, allocations: 1.094 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3241, allocations: 4 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3241, allocations: 1.156 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.3242, allocations: 26.41 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.3249, allocations: 395.2 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3251, allocations: 43.78 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.3252, allocations: 16.47 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3252, allocations: 0 / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3252, allocations: 35.56 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3252, allocations: 0.9688 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007899/0.326, allocations: 240.5 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3261, allocations: 52.34 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3272, allocations: 0.8724 MB / 0.5373 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3272, allocations: 29.7 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3274, allocations: 227 kB / 0.5375 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.3275, allocations: 16.98 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3275, allocations: 18.16 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3277, allocations: 364.7 kB / 0.5379 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.3278, allocations: 17.92 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.3279, allocations: 19.39 kB / 0.538 GB, free: 7.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.328, allocations: 49.03 kB / 0.538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.328, allocations: 0 / 0.538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002687/0.3283, allocations: 120.5 kB / 0.5381 GB, free: 7.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3283, allocations: 10.97 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3283, allocations: 1.156 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3284, allocations: 256 / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.3284, allocations: 14.48 kB / 0.5381 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3285, allocations: 4 kB / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.3285, allocations: 11.22 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3286, allocations: 14.16 kB / 0.5382 GB, free: 7.773 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 (5): * Single equations (assignments): 5 * 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.0002022/0.3288, allocations: 209.4 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.3288, allocations: 47.59 kB / 0.5384 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.3292, allocations: 130.6 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3292, allocations: 1.625 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3292, allocations: 0 / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3292, allocations: 3.938 kB / 0.5386 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.3298, allocations: 468 kB / 0.539 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3298, allocations: 0 / 0.539 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.3299, allocations: 14.08 kB / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3299, allocations: 0 / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3299, allocations: 5.344 kB / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3299, allocations: 0 / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3299, allocations: 1.812 kB / 0.539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3302, allocations: 221.7 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/0.3303, allocations: 110.9 kB / 0.5393 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3304, allocations: 12.89 kB / 0.5393 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.3305, allocations: 3.625 kB / 0.5393 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3305, allocations: 2.062 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3305, allocations: 1.156 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007127/0.3312, allocations: 0.6632 MB / 0.54 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3313, allocations: 1.125 kB / 0.54 GB, free: 6.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.3315, allocations: 29.8 kB / 0.54 GB, free: 6.441 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 (5): * Single equations (assignments): 5 * 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.001972/0.3335, allocations: 1.032 MB / 0.541 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3337, allocations: 53.22 kB / 0.5411 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3338, allocations: 0 / 0.5411 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.3338, allocations: 23.64 kB / 0.5411 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.3343, allocations: 35.94 kB / 0.5411 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.3388, allocations: 3.251 MB / 0.5443 GB, free: 3.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3394, allocations: 0.8221 MB / 0.5451 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.3394, allocations: 19.97 kB / 0.5451 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3396, allocations: 103.4 kB / 0.5452 GB, free: 2.387 MB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3396, allocations: 0 / 0.5452 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.3688, allocations: 6.066 MB / 0.5512 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.079, allocations: 16.31 kB / 0.5512 GB, free: 12.4 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_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_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1)