Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, 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.2423/0.2423, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.003856/0.003856, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3375, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003082/0.3407, allocations: 1.665 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3426, allocations: 1.195 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.3427, allocations: 3.938 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.343, allocations: 32.69 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3434, allocations: 86.22 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3439, allocations: 180.4 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3441, allocations: 71.45 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3442, allocations: 17.62 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.3443, allocations: 44.14 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.3444, allocations: 32.23 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3445, allocations: 4.125 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.3447, allocations: 101.5 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.3448, allocations: 25.34 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.3448, allocations: 34.67 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3452, allocations: 154.2 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3452, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3452, allocations: 1.375 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3452, allocations: 0 / 0.5342 GB, free: 10.65 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.000614/0.3458, allocations: 423.1 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3459, allocations: 9.781 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.3459, allocations: 39.97 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.346, allocations: 8.891 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3462, allocations: 198.9 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3463, allocations: 1.688 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3463, allocations: 15.27 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3465, allocations: 74.8 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3465, allocations: 0 / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3465, allocations: 1.406 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3465, allocations: 1.531 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.3467, allocations: 54.06 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.3472, allocations: 310.2 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3473, allocations: 42.25 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.3474, allocations: 24.97 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3475, allocations: 11.98 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3475, allocations: 36.62 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3475, allocations: 0 / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00088/0.3484, allocations: 234.2 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3485, allocations: 78.17 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3487, allocations: 159.8 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3487, allocations: 26.8 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.3488, allocations: 108.2 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.3489, allocations: 26.55 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.3489, allocations: 24.23 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3491, allocations: 317 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3492, allocations: 45.89 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3494, allocations: 49.06 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3496, allocations: 87.23 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3497, allocations: 4.031 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003265/0.35, allocations: 125.9 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.35, allocations: 4.125 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.35, allocations: 1.375 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.35, allocations: 0 / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3502, allocations: 23.11 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3502, allocations: 3.984 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.3503, allocations: 18.81 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3503, allocations: 2.75 kB / 0.5366 GB, free: 8.359 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.0001267/0.3505, allocations: 119.6 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3505, allocations: 11.5 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.3509, allocations: 143.9 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.351, allocations: 0 / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.351, allocations: 7.938 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.351, allocations: 5.562 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.3517, allocations: 411.5 kB / 0.5373 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3517, allocations: 0 / 0.5373 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.3518, allocations: 23.11 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3518, allocations: 3.984 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3518, allocations: 9.031 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3518, allocations: 1.531 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3518, allocations: 0 / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.3522, allocations: 224.9 kB / 0.5376 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3523, allocations: 91.7 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3523, allocations: 5.156 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3524, allocations: 13.92 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3525, allocations: 10.64 kB / 0.5377 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3525, allocations: 2.5 kB / 0.5377 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3526, allocations: 118.9 kB / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3526, allocations: 0 / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.353, allocations: 39.22 kB / 0.5378 GB, free: 7.312 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.002403/0.3554, allocations: 1.145 MB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.3558, allocations: 93.23 kB / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3558, allocations: 0 / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.356, allocations: 48.66 kB / 0.5391 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3564, allocations: 22.88 kB / 0.5391 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3588, allocations: 1.646 MB / 0.5407 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3591, allocations: 0.7062 MB / 0.5414 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.3593, allocations: 24.11 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.3594, allocations: 34.84 kB / 0.5415 GB, free: 4.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3594, allocations: 4 kB / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3866, allocations: 3.595 MB / 0.545 GB, free: 2.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.553, allocations: 10.23 kB / 0.545 GB, free: 2.168 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_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_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1)