Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 117.2 kB / 17.78 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.002946/0.002946, 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.493/1.493, 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.2713/0.2713, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002295/0.002295, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3199, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002921/0.3228, allocations: 1.692 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3238, allocations: 0.5759 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.3239, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3241, allocations: 57.3 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.3244, allocations: 98.27 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.3249, allocations: 180.9 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3251, allocations: 94.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3252, allocations: 23.17 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.3253, allocations: 44.33 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.3254, allocations: 45.84 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3254, allocations: 4.125 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3255, allocations: 60.89 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3256, allocations: 21.55 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3256, allocations: 38.56 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.3258, allocations: 116.5 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3259, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3259, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3259, allocations: 0 / 0.5336 GB, free: 11.13 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005362/0.3264, allocations: 429 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3265, allocations: 9.625 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3265, allocations: 40.06 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3265, allocations: 18.33 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3268, allocations: 206.6 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3268, allocations: 5.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3268, allocations: 3.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.327, allocations: 68.72 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.327, allocations: 14 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.327, allocations: 4 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.327, allocations: 0 / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.3272, allocations: 40.72 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.3276, allocations: 325.9 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.3279, allocations: 65.3 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.328, allocations: 29.69 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.328, allocations: 1.094 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3281, allocations: 31.94 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3281, allocations: 0 / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.3296, allocations: 437.3 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3296, allocations: 52.91 kB / 0.5353 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3299, allocations: 196.6 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3299, allocations: 29.7 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.33, allocations: 105.9 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.33, allocations: 41.27 kB / 0.5357 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.3301, allocations: 29.97 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3303, allocations: 325.5 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3304, allocations: 56.83 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3306, allocations: 58.25 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.3309, allocations: 126.8 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3309, allocations: 0.5 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003962/0.3313, allocations: 165.4 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3313, allocations: 4.781 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3313, allocations: 1.125 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3314, allocations: 3.938 kB / 0.5364 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3315, allocations: 28.36 kB / 0.5364 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3315, allocations: 5.125 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3316, allocations: 10.45 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3316, allocations: 2.25 kB / 0.5364 GB, free: 8.707 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 (11): * Single equations (assignments): 11 * 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.0001322/0.3317, allocations: 128.7 kB / 0.5366 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3318, allocations: 14.31 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.3323, allocations: 199.8 kB / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3323, allocations: 5.156 kB / 0.5368 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3323, allocations: 3.938 kB / 0.5368 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3323, allocations: 1.125 kB / 0.5368 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/0.3331, allocations: 0.5021 MB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3331, allocations: 9.156 kB / 0.5373 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3332, allocations: 24.61 kB / 0.5373 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3332, allocations: 1.188 kB / 0.5373 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3332, allocations: 5.188 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3332, allocations: 2.125 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3333, allocations: 1.094 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.3337, allocations: 280.2 kB / 0.5376 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3338, allocations: 89.08 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3338, allocations: 2.375 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3339, allocations: 14.2 kB / 0.5377 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.334, allocations: 8.859 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.334, allocations: 10.75 kB / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.3341, allocations: 155.5 kB / 0.5378 GB, free: 7.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3341, allocations: 0 / 0.5378 GB, free: 7.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3344, allocations: 27.25 kB / 0.5379 GB, free: 7.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002252/0.3367, allocations: 1.161 MB / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.337, allocations: 128.3 kB / 0.5391 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.337, allocations: 4.938 kB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3372, allocations: 70.67 kB / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3376, allocations: 16.92 kB / 0.5392 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.3401, allocations: 1.917 MB / 0.5411 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3405, allocations: 0.7123 MB / 0.5418 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.3406, allocations: 39.08 kB / 0.5418 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3407, allocations: 40.02 kB / 0.5419 GB, free: 4.176 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3407, allocations: 0 / 0.5419 GB, free: 4.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3662, allocations: 3.52 MB / 0.5453 GB, free: 2.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.442, allocations: 3.156 kB / 0.5453 GB, free: 2.289 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_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_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1)