Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001715, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 198 kB / 18.73 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.45 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.2354/0.2354, 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.00333/0.00333, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3665, allocations: 62.46 MB / 0.5306 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003155/0.3697, allocations: 1.655 MB / 0.5323 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.3717, allocations: 1.174 MB / 0.5334 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.3718, allocations: 1.062 kB / 0.5334 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3721, allocations: 15.14 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3724, allocations: 89.61 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.3727, allocations: 142.7 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3729, allocations: 63.81 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.373, allocations: 20.62 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.373, allocations: 35.34 kB / 0.5337 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3732, allocations: 43.31 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3732, allocations: 3.875 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.3734, allocations: 92.53 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.3735, allocations: 25.91 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.3735, allocations: 28.8 kB / 0.5339 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3738, allocations: 157.6 kB / 0.5341 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3738, allocations: 0 / 0.5341 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3738, allocations: 1.344 kB / 0.5341 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3738, allocations: 0 / 0.5341 GB, free: 10.93 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.0005833/0.3744, allocations: 426.2 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3745, allocations: 9.625 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.3745, allocations: 32.12 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3745, allocations: 9.016 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3748, allocations: 201.8 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3748, allocations: 1.75 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3748, allocations: 7.078 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.375, allocations: 77.2 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.375, allocations: 0 / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.375, allocations: 0 / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.375, allocations: 1.375 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3752, allocations: 36.59 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3756, allocations: 296.1 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3758, allocations: 52.44 kB / 0.5352 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.3758, allocations: 23.94 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3759, allocations: 3.984 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3759, allocations: 31.94 kB / 0.5352 GB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3759, allocations: 0 / 0.5352 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007634/0.3767, allocations: 216.2 kB / 0.5354 GB, free: 9.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.3768, allocations: 78.48 kB / 0.5355 GB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3769, allocations: 159.5 kB / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.377, allocations: 25.7 kB / 0.5357 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.377, allocations: 100.3 kB / 0.5358 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3771, allocations: 30.48 kB / 0.5358 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3771, allocations: 23.16 kB / 0.5358 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3773, allocations: 321.6 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3774, allocations: 34.64 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3775, allocations: 51.11 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3777, allocations: 75.75 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3778, allocations: 1.219 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002765/0.378, allocations: 114.2 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3781, allocations: 5.406 kB / 0.5364 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3781, allocations: 3.938 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3781, allocations: 0.8438 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3782, allocations: 22.77 kB / 0.5364 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3782, allocations: 1.188 kB / 0.5364 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.3783, allocations: 14.33 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3783, allocations: 5.375 kB / 0.5365 GB, free: 8.684 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 8.689e-05/0.3784, allocations: 114.9 kB / 0.5366 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3785, allocations: 7.828 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.3788, allocations: 131.8 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3788, allocations: 1.188 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3788, allocations: 1.094 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3788, allocations: 3.938 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.3794, allocations: 396.7 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3794, allocations: 5.156 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.3795, allocations: 18.98 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3795, allocations: 0 / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3795, allocations: 12.95 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3795, allocations: 1.25 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3795, allocations: 0 / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.3799, allocations: 214.7 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.38, allocations: 91.36 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.38, allocations: 5.062 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.3801, allocations: 10.83 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.3801, allocations: 2.156 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3802, allocations: 10.12 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3803, allocations: 120 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3803, allocations: 0 / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.3806, allocations: 46.55 kB / 0.5376 GB, free: 7.656 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.00219/0.3828, allocations: 1.131 MB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3831, allocations: 82.81 kB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3831, allocations: 0 / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3832, allocations: 42.69 kB / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3836, allocations: 23.98 kB / 0.5389 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3857, allocations: 1.586 MB / 0.5404 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3861, allocations: 0.6924 MB / 0.5411 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.3862, allocations: 17.69 kB / 0.5411 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.3863, allocations: 35.38 kB / 0.5411 GB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3863, allocations: 0 / 0.5411 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.414, allocations: 3.518 MB / 0.5446 GB, free: 2.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.595, allocations: 8.094 kB / 0.5446 GB, free: 2.602 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_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_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1)