Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 122.1 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.001312/0.001312, 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.47 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.2288/0.2288, allocations: 46.11 MB / 344.4 MB, free: 11.48 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.002289/0.002289, allocations: 71.88 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3156, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003859/0.3195, allocations: 1.939 MB / 0.5325 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3215, allocations: 0.9723 MB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3217, allocations: 2.688 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.3222, allocations: 255.8 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.3228, allocations: 258 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3239, allocations: 491.5 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.3243, allocations: 292.5 kB / 0.5347 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3245, allocations: 49.34 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.3248, allocations: 132.4 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3251, allocations: 187.5 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.3251, allocations: 8.031 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3253, allocations: 61.91 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3254, allocations: 87.22 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.3256, allocations: 115.3 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.3262, allocations: 310.3 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3262, allocations: 5 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3262, allocations: 0 / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3262, allocations: 0 / 0.5356 GB, free: 9.773 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008841/0.3271, allocations: 0.663 MB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3272, allocations: 9.875 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.3273, allocations: 40.14 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.3274, allocations: 47.06 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.3278, allocations: 330.1 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3279, allocations: 7.094 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3279, allocations: 4.5 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3281, allocations: 82.55 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3281, allocations: 0 / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3281, allocations: 1.062 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3281, allocations: 1.031 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3283, allocations: 52.56 kB / 0.5368 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.3289, allocations: 466.6 kB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3291, allocations: 54.41 kB / 0.5373 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.3291, allocations: 24.66 kB / 0.5373 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3292, allocations: 6.219 kB / 0.5373 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3292, allocations: 35.56 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3292, allocations: 4 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003503/0.3296, allocations: 129.1 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3296, allocations: 56.28 kB / 0.5375 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.3304, allocations: 0.589 MB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3304, allocations: 26.42 kB / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3306, allocations: 206.4 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.3306, allocations: 23 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3307, allocations: 18.62 kB / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3309, allocations: 354.5 kB / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.3309, allocations: 18.8 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.331, allocations: 23.05 kB / 0.5388 GB, free: 7.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3311, allocations: 52.12 kB / 0.5388 GB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3312, allocations: 0 / 0.5388 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002794/0.3314, allocations: 111.1 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3315, allocations: 4.781 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3315, allocations: 4.969 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3315, allocations: 3.938 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.3316, allocations: 17.86 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3316, allocations: 1.406 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.3317, allocations: 15.89 kB / 0.539 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3317, allocations: 2.156 kB / 0.539 GB, free: 6.945 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 (6): * Single equations (assignments): 6 * 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.0001659/0.3319, allocations: 168.5 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.332, allocations: 45.91 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.3323, allocations: 133.6 kB / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3323, allocations: 3.938 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3323, allocations: 0 / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3323, allocations: 1.25 kB / 0.5393 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.3327, allocations: 292.5 kB / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3327, allocations: 0 / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3328, allocations: 13.75 kB / 0.5396 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3328, allocations: 5.094 kB / 0.5396 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3328, allocations: 4.891 kB / 0.5396 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3328, allocations: 5.062 kB / 0.5396 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3329, allocations: 4 kB / 0.5396 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3331, allocations: 210.3 kB / 0.5398 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.3332, allocations: 123.5 kB / 0.5399 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3333, allocations: 4 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3334, allocations: 11.98 kB / 0.5399 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.3334, allocations: 1.562 kB / 0.5399 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3334, allocations: 3.094 kB / 0.5399 GB, free: 6.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004887/0.3339, allocations: 448.4 kB / 0.5404 GB, free: 5.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3339, allocations: 0 / 0.5404 GB, free: 5.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.3342, allocations: 36.98 kB / 0.5404 GB, free: 5.828 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 (6): * Single equations (assignments): 6 * 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.00285/0.3371, allocations: 1.236 MB / 0.5416 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3373, allocations: 49.16 kB / 0.5417 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3373, allocations: 0 / 0.5417 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.3374, allocations: 27.64 kB / 0.5417 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.338, allocations: 85.12 kB / 0.5418 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3418, allocations: 2.855 MB / 0.5446 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3424, allocations: 0.8004 MB / 0.5453 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3425, allocations: 34.2 kB / 0.5454 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3427, allocations: 109.5 kB / 0.5455 GB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3427, allocations: 0 / 0.5455 GB, free: 2.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.373, allocations: 6.795 MB / 0.5521 GB, free: 11.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/8.999, allocations: 16.45 kB / 0.5521 GB, free: 11.6 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1)