Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 122.2 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.001987/0.001987, 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.478/1.478, allocations: 227.4 MB / 247 MB, free: 10.46 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.2391/0.2391, 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.002246/0.002246, allocations: 80.14 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3566, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003433/0.3601, allocations: 1.681 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3613, allocations: 0.5601 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.3614, allocations: 0.9688 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.3621, allocations: 452.8 kB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3627, allocations: 288.3 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.3631, allocations: 139.1 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3634, allocations: 175.7 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3635, allocations: 13.62 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3637, allocations: 118.8 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.3639, allocations: 218.6 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.364, allocations: 4.125 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3641, allocations: 47.86 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3642, allocations: 82.59 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.3643, allocations: 116 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3647, allocations: 274.5 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3647, allocations: 0 / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3647, allocations: 1.156 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3647, allocations: 4 kB / 0.5347 GB, free: 10.68 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.0008511/0.3656, allocations: 0.6725 MB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3656, allocations: 9.281 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.3657, allocations: 39.95 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.3658, allocations: 44.09 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3661, allocations: 304.2 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3661, allocations: 1.344 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3661, allocations: 4.406 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3663, allocations: 67.58 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3664, allocations: 4 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3664, allocations: 5.266 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3664, allocations: 1.406 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3665, allocations: 27.5 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.3671, allocations: 400.4 kB / 0.5362 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3672, allocations: 48.12 kB / 0.5362 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.3673, allocations: 20.06 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3673, allocations: 0 / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3674, allocations: 32.09 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3674, allocations: 0 / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009655/0.3683, allocations: 313.1 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3684, allocations: 60.66 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3694, allocations: 0.8721 MB / 0.5375 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3695, allocations: 26.86 kB / 0.5375 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.3697, allocations: 229.6 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3697, allocations: 26.97 kB / 0.5378 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3698, allocations: 27.64 kB / 0.5378 GB, free: 8.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.37, allocations: 361.2 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3701, allocations: 29.38 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.3702, allocations: 23.3 kB / 0.5382 GB, free: 7.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3704, allocations: 64.89 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3704, allocations: 0 / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002609/0.3706, allocations: 130.7 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3707, allocations: 9.375 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3707, allocations: 0 / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3707, allocations: 9.234 kB / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3708, allocations: 25.38 kB / 0.5384 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3708, allocations: 5.844 kB / 0.5384 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.3709, allocations: 6.859 kB / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3709, allocations: 1.844 kB / 0.5384 GB, free: 7.668 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 (8): * Single equations (assignments): 8 * 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.0002298/0.3712, allocations: 218.5 kB / 0.5386 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.3712, allocations: 46.67 kB / 0.5387 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.3716, allocations: 161.6 kB / 0.5388 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3716, allocations: 5.25 kB / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3716, allocations: 0 / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3716, allocations: 0 / 0.5388 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/0.3724, allocations: 0.508 MB / 0.5393 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3724, allocations: 0 / 0.5393 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.3725, allocations: 18.11 kB / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3725, allocations: 1.062 kB / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3725, allocations: 2.156 kB / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3725, allocations: 1.188 kB / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3725, allocations: 0 / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.3728, allocations: 251 kB / 0.5396 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.3729, allocations: 115.7 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.373, allocations: 1.188 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.3731, allocations: 8 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3731, allocations: 7.234 kB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3731, allocations: 2.594 kB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007542/0.3739, allocations: 0.6633 MB / 0.5404 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3739, allocations: 0 / 0.5404 GB, free: 6.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3742, allocations: 31.25 kB / 0.5404 GB, free: 6.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002119/0.3763, allocations: 1.13 MB / 0.5415 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3766, allocations: 71.27 kB / 0.5416 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3766, allocations: 4 kB / 0.5416 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.3767, allocations: 38.86 kB / 0.5416 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3772, allocations: 28.75 kB / 0.5416 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.3815, allocations: 3.334 MB / 0.5449 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.3821, allocations: 0.8299 MB / 0.5457 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.3822, allocations: 20.72 kB / 0.5457 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3823, allocations: 107.4 kB / 0.5458 GB, free: 1.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.294e-06/0.3823, allocations: 4.047 kB / 0.5458 GB, free: 1.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.414, allocations: 6.382 MB / 0.5521 GB, free: 11.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/8.984, allocations: 9.844 kB / 0.5521 GB, free: 11.54 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_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_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1)