Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00164/0.00164, 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.001921/0.001921, 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.486/1.486, 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.223/0.223, allocations: 46.12 MB / 344.4 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.002271/0.002271, allocations: 76.09 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3435, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003343/0.3469, allocations: 1.671 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3491, allocations: 1.167 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.3492, allocations: 0 / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3495, allocations: 19.34 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.3499, allocations: 91.22 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.3503, allocations: 133.2 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3505, allocations: 72.64 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3507, allocations: 18.84 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.3507, allocations: 30.86 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.351, allocations: 36.22 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.351, allocations: 8.125 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.3512, allocations: 101.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.3513, allocations: 20.05 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.3514, allocations: 26.73 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3517, allocations: 152.7 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3517, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3517, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3517, allocations: 0 / 0.5341 GB, free: 10.71 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.000629/0.3523, allocations: 427.6 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3524, allocations: 9.625 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.3524, allocations: 34.75 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3525, allocations: 9.016 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.3527, allocations: 201.4 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3528, allocations: 1.75 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3528, allocations: 5.703 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.353, allocations: 81.12 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.353, allocations: 1.375 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.353, allocations: 8 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.353, allocations: 1.375 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3532, allocations: 32.59 kB / 0.5349 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3536, allocations: 292.2 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3538, allocations: 50.98 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.3539, allocations: 27.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3539, allocations: 1.375 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3539, allocations: 31.94 kB / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3539, allocations: 0 / 0.5352 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000897/0.3548, allocations: 224 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.3549, allocations: 78.08 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3551, allocations: 151.3 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3552, allocations: 31.27 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.3553, allocations: 98.97 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.3553, allocations: 30.17 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3554, allocations: 24.5 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3556, allocations: 325.1 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3557, allocations: 29.72 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3558, allocations: 47.03 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.3561, allocations: 80.53 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3561, allocations: 0 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.3564, allocations: 114.9 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3564, allocations: 5.844 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3565, allocations: 0 / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3565, allocations: 1.125 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3566, allocations: 22.22 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3566, allocations: 9.281 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.3567, allocations: 14.75 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3567, allocations: 5.047 kB / 0.5365 GB, free: 8.453 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.0001/0.3568, allocations: 118.4 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3569, allocations: 8.547 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.3573, allocations: 124 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3573, allocations: 1.188 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3573, allocations: 0 / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3573, allocations: 5.344 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.3579, allocations: 400.6 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.358, allocations: 0 / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.46e-05/0.3581, allocations: 22.92 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3581, allocations: 1.344 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3581, allocations: 3.938 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3581, allocations: 1.25 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3581, allocations: 0 / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3585, allocations: 209.9 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.3585, allocations: 91.59 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3586, allocations: 5.094 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3587, allocations: 10.73 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3587, allocations: 6.797 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3588, allocations: 10.53 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3589, allocations: 119 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3589, allocations: 1.562 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3592, allocations: 41.45 kB / 0.5376 GB, free: 7.438 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.002596/0.3618, allocations: 1.131 MB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.3622, allocations: 87.17 kB / 0.5388 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3622, allocations: 0 / 0.5388 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3624, allocations: 45.69 kB / 0.5388 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3628, allocations: 21.2 kB / 0.5389 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3651, allocations: 1.584 MB / 0.5404 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3655, allocations: 0.6925 MB / 0.5411 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3656, allocations: 26.02 kB / 0.5411 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.3657, allocations: 31.48 kB / 0.5411 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3657, allocations: 0 / 0.5411 GB, free: 4.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3944, allocations: 3.513 MB / 0.5446 GB, free: 2.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.592, allocations: 7.219 kB / 0.5446 GB, free: 2.379 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32_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_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)