Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, 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.001329/0.001329, allocations: 197.2 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.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.2426/0.2426, allocations: 46.12 MB / 344.4 MB, free: 11.41 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.002146/0.002146, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 62.46 MB / 0.5306 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003238/0.386, allocations: 1.647 MB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3871, allocations: 0.5809 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.3872, allocations: 1.219 kB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.3878, allocations: 452.9 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.3883, allocations: 288.1 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.3887, allocations: 178.1 kB / 0.5337 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.389, allocations: 173.1 kB / 0.5338 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3891, allocations: 25.59 kB / 0.5339 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3893, allocations: 102.9 kB / 0.534 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.3895, allocations: 218.7 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3895, allocations: 4.094 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.3896, allocations: 41.52 kB / 0.5342 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3898, allocations: 82.12 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.3899, allocations: 103.8 kB / 0.5344 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3902, allocations: 271.8 kB / 0.5347 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3902, allocations: 1.156 kB / 0.5347 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3902, allocations: 0 / 0.5347 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.3902, allocations: 0 / 0.5347 GB, free: 10.6 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.0007643/0.391, allocations: 0.6674 MB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.391, allocations: 10.12 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.3911, allocations: 31.69 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3911, allocations: 47.59 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3915, allocations: 305.7 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3915, allocations: 1.594 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3915, allocations: 1.656 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3917, allocations: 63.66 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3917, allocations: 1.156 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3917, allocations: 3.938 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3917, allocations: 5.219 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3918, allocations: 36.69 kB / 0.5358 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.3924, allocations: 401.8 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3927, allocations: 53.52 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3927, allocations: 12.17 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3927, allocations: 0 / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3928, allocations: 44.14 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3928, allocations: 0 / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006973/0.3935, allocations: 238.2 kB / 0.5365 GB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3935, allocations: 60.36 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.3945, allocations: 0.8744 MB / 0.5374 GB, free: 8.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3945, allocations: 25.7 kB / 0.5375 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3947, allocations: 234.2 kB / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3947, allocations: 17.53 kB / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3948, allocations: 19.22 kB / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3949, allocations: 363.3 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.395, allocations: 20.45 kB / 0.5381 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.3951, allocations: 20.89 kB / 0.5381 GB, free: 7.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3952, allocations: 55.48 kB / 0.5381 GB, free: 7.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3953, allocations: 0 / 0.5381 GB, free: 7.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002326/0.3955, allocations: 127.6 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3955, allocations: 5.781 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3955, allocations: 4 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3955, allocations: 1.375 kB / 0.5383 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.3956, allocations: 12.58 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3956, allocations: 1.688 kB / 0.5383 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.3957, allocations: 11.09 kB / 0.5383 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3957, allocations: 1.156 kB / 0.5383 GB, free: 7.656 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 (5): * Single equations (assignments): 5 * 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.0001947/0.3959, allocations: 215.1 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.396, allocations: 46.14 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3963, allocations: 143 kB / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3963, allocations: 0.8125 kB / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3963, allocations: 1.125 kB / 0.5387 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3964, allocations: 7.938 kB / 0.5387 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.397, allocations: 469.3 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.397, allocations: 1.188 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.397, allocations: 13.81 kB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.397, allocations: 0 / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3971, allocations: 9.328 kB / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3971, allocations: 0 / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3971, allocations: 0 / 0.5392 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3974, allocations: 230.9 kB / 0.5394 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.3975, allocations: 110.3 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3975, allocations: 9.031 kB / 0.5395 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.3976, allocations: 11.42 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3976, allocations: 2.188 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3977, allocations: 5.219 kB / 0.5395 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006465/0.3983, allocations: 0.6642 MB / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3983, allocations: 0 / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3986, allocations: 31.58 kB / 0.5402 GB, free: 6.297 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 (5): * Single equations (assignments): 5 * 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.001931/0.4005, allocations: 1.054 MB / 0.5412 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4008, allocations: 51.55 kB / 0.5413 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.4008, allocations: 0 / 0.5413 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.4009, allocations: 33.39 kB / 0.5413 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4013, allocations: 36.62 kB / 0.5413 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.4054, allocations: 3.28 MB / 0.5445 GB, free: 3.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.4059, allocations: 0.826 MB / 0.5454 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.367e-05/0.4059, allocations: 16.64 kB / 0.5454 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.4061, allocations: 115.4 kB / 0.5455 GB, free: 2.113 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4061, allocations: 3.938 kB / 0.5455 GB, free: 2.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.4374, allocations: 6.125 MB / 0.5515 GB, free: 12.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/9.01, allocations: 5.906 kB / 0.5515 GB, free: 12.07 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_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_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)