Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001951/0.001951, allocations: 118.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.0022/0.002201, allocations: 205.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.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.41 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.2225/0.2225, allocations: 46.11 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.002351/0.002351, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3373, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.003113/0.3405, allocations: 1.656 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3424, allocations: 1.169 MB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.3425, allocations: 2.062 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.3427, allocations: 20.39 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.343, allocations: 93.27 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3434, allocations: 133.5 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3436, allocations: 68.7 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3437, allocations: 14.88 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.3438, allocations: 38.78 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.344, allocations: 36.22 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.344, allocations: 4.125 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3442, allocations: 101.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.3443, allocations: 23.97 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3443, allocations: 22.75 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.3446, allocations: 152.8 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3446, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3446, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3446, allocations: 7.938 kB / 0.5341 GB, free: 10.72 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.0006367/0.3453, allocations: 423.6 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3453, allocations: 9.625 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.3454, allocations: 42.67 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.3454, allocations: 9.016 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3456, allocations: 197.4 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3456, allocations: 1.75 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3457, allocations: 9.688 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.3459, allocations: 81.2 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3459, allocations: 1.375 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3459, allocations: 0 / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3459, allocations: 1.375 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3461, allocations: 40.52 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3465, allocations: 296.2 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3466, allocations: 47.05 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.3467, allocations: 23.94 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3467, allocations: 1.375 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3468, allocations: 39.88 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3468, allocations: 0 / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007735/0.3476, allocations: 211.6 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3476, allocations: 82.81 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3478, allocations: 155.8 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3479, allocations: 29.7 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.3479, allocations: 99.91 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.348, allocations: 26.5 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.348, allocations: 24 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3482, allocations: 321.9 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3483, allocations: 33.02 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3484, allocations: 55.28 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3487, allocations: 72.42 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3487, allocations: 0 / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.349, allocations: 114.8 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.349, allocations: 9.625 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.349, allocations: 0 / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.349, allocations: 1.156 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3492, allocations: 19.39 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3492, allocations: 0 / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.3493, allocations: 13.95 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3493, allocations: 2.188 kB / 0.5365 GB, free: 8.473 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 9.933e-05/0.3494, allocations: 123.4 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3494, allocations: 11.45 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.3498, allocations: 128.7 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3498, allocations: 3.938 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3498, allocations: 1.25 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3498, allocations: 3.938 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.3504, allocations: 393.6 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3504, allocations: 0 / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.3505, allocations: 22.02 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3505, allocations: 1.25 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3506, allocations: 5.219 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3506, allocations: 4 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3506, allocations: 1.188 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3509, allocations: 218.2 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.351, allocations: 88.3 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3511, allocations: 3.938 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3512, allocations: 15.36 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3512, allocations: 6.672 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.3512, allocations: 1.188 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3513, allocations: 128.4 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3513, allocations: 0 / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.3516, allocations: 39.22 kB / 0.5376 GB, free: 7.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 (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.002271/0.3539, allocations: 1.129 MB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3542, allocations: 78.28 kB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3542, allocations: 5.25 kB / 0.5388 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3544, allocations: 41.78 kB / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3547, allocations: 24.81 kB / 0.5389 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3569, allocations: 1.588 MB / 0.5404 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3572, allocations: 0.7047 MB / 0.5411 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.686e-05/0.3573, allocations: 13.44 kB / 0.5411 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3574, allocations: 27.39 kB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3574, allocations: 0 / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3834, allocations: 3.513 MB / 0.5446 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.666, allocations: 10.89 kB / 0.5446 GB, free: 2.387 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11_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_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1)