Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 122.1 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.001538/0.001538, 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.513/1.513, 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.2375/0.2375, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002396/0.002396, allocations: 83.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3622, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003346/0.3656, allocations: 1.676 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3668, allocations: 0.5475 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.3669, allocations: 1.5 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.3677, allocations: 460.4 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.3683, allocations: 288.6 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.3687, allocations: 141.6 kB / 0.5337 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.369, allocations: 173.1 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3692, allocations: 16.23 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3693, allocations: 118.8 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.3696, allocations: 214.6 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3696, allocations: 4.125 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3698, allocations: 52.41 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3699, allocations: 78.77 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3701, allocations: 111.8 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.3704, allocations: 274.6 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3705, allocations: 7.984 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3705, allocations: 1.125 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3705, allocations: 0 / 0.5347 GB, free: 10.69 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.000832/0.3713, allocations: 0.676 MB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3714, allocations: 9.438 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.3714, allocations: 36 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.3715, allocations: 44.19 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3718, allocations: 308 kB / 0.5357 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3718, allocations: 5.422 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3718, allocations: 12.41 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.372, allocations: 59.28 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.372, allocations: 1.875 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.372, allocations: 0 / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3721, allocations: 1.969 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3722, allocations: 30.97 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.3728, allocations: 404.3 kB / 0.5362 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.373, allocations: 42.66 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.3731, allocations: 20.75 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3731, allocations: 1.312 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3731, allocations: 31.91 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3731, allocations: 0 / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001224/0.3744, allocations: 316.6 kB / 0.5366 GB, free: 8.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3744, allocations: 60.36 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.3758, allocations: 0.8729 MB / 0.5375 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3758, allocations: 25.7 kB / 0.5375 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3761, allocations: 222.3 kB / 0.5377 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.3761, allocations: 39.92 kB / 0.5378 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.3762, allocations: 19.19 kB / 0.5378 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3764, allocations: 363.9 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.3765, allocations: 22.17 kB / 0.5382 GB, free: 7.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.3766, allocations: 27.8 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3768, allocations: 63.84 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3768, allocations: 4 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003156/0.3771, allocations: 139.8 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3772, allocations: 5.969 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3772, allocations: 0 / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3772, allocations: 0 / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3773, allocations: 22.7 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3773, allocations: 8 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.3774, allocations: 3.906 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3774, allocations: 6.719 kB / 0.5384 GB, free: 7.68 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.0002396/0.3777, allocations: 213.1 kB / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.3778, allocations: 47.27 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.3781, allocations: 160.1 kB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3782, allocations: 5.938 kB / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3782, allocations: 0 / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3782, allocations: 4.422 kB / 0.5388 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.379, allocations: 0.4998 MB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.379, allocations: 5.156 kB / 0.5393 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.3791, allocations: 21.58 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3791, allocations: 1.312 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3791, allocations: 1.75 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3791, allocations: 1.438 kB / 0.5394 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3791, allocations: 4.031 kB / 0.5394 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.3794, allocations: 251.3 kB / 0.5396 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3795, allocations: 119.7 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3796, allocations: 1.469 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.3797, allocations: 2.781 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3797, allocations: 12.2 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3797, allocations: 2.281 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007321/0.3805, allocations: 0.6586 MB / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3805, allocations: 0 / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.3808, allocations: 30.31 kB / 0.5404 GB, free: 6.27 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.002313/0.3831, allocations: 1.127 MB / 0.5415 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3834, allocations: 75.56 kB / 0.5416 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3834, allocations: 0 / 0.5416 GB, free: 5.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3835, allocations: 34.86 kB / 0.5416 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3839, allocations: 25.45 kB / 0.5416 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.3882, allocations: 3.343 MB / 0.5449 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.3887, allocations: 0.8259 MB / 0.5457 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.3888, allocations: 16.72 kB / 0.5457 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3889, allocations: 111.4 kB / 0.5458 GB, free: 1.836 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3889, allocations: 4 kB / 0.5458 GB, free: 1.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.4194, allocations: 6.382 MB / 0.5521 GB, free: 11.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.129, allocations: 10.08 kB / 0.5521 GB, free: 11.54 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1)