Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 118.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.001473/0.001473, allocations: 198 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.484/1.484, 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.2386/0.2386, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002306/0.002306, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3835, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003267/0.3868, allocations: 1.618 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3887, allocations: 1.169 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3888, allocations: 1.094 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.3891, allocations: 32.25 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.3894, allocations: 86.36 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3897, allocations: 114 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3899, allocations: 79.38 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.39, allocations: 15.25 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.3901, allocations: 31.5 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3903, allocations: 40.53 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3903, allocations: 13.72 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3905, allocations: 95.72 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.3905, allocations: 16.25 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3906, allocations: 30.2 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.3909, allocations: 158 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3909, allocations: 1.375 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3909, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3909, allocations: 0 / 0.534 GB, free: 10.76 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.0005462/0.3914, allocations: 419.5 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3915, allocations: 17.56 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.3915, allocations: 36.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3916, allocations: 13 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3918, allocations: 197.8 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3918, allocations: 1.75 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3919, allocations: 7.125 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3921, allocations: 75.95 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3921, allocations: 3.953 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3921, allocations: 13.36 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3921, allocations: 1.375 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3922, allocations: 35.16 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.3927, allocations: 311.2 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3929, allocations: 57.95 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.3929, allocations: 22.61 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.393, allocations: 7.969 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.393, allocations: 31.94 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.186e-06/0.393, allocations: 0 / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006881/0.3937, allocations: 206.6 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.3938, allocations: 82.48 kB / 0.5355 GB, free: 9.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.394, allocations: 157.1 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.394, allocations: 25.7 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.3941, allocations: 96.25 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3942, allocations: 27.88 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.3942, allocations: 23.2 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3944, allocations: 321.6 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.3945, allocations: 28.48 kB / 0.5361 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3946, allocations: 48.72 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3948, allocations: 73.31 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3948, allocations: 0 / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002586/0.395, allocations: 107.8 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3951, allocations: 5.125 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3951, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3951, allocations: 4.969 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3952, allocations: 18.2 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3952, allocations: 4.25 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.3953, allocations: 12.19 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3953, allocations: 1.688 kB / 0.5364 GB, free: 8.508 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.0001081/0.3954, allocations: 123.4 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3955, allocations: 13.19 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3958, allocations: 126.9 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3958, allocations: 0.9688 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3958, allocations: 5.062 kB / 0.5367 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3959, allocations: 3.984 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.3965, allocations: 404 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3965, allocations: 1.125 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.3966, allocations: 17.44 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3966, allocations: 9.109 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3966, allocations: 1.219 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3966, allocations: 0 / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3966, allocations: 0 / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3969, allocations: 211.8 kB / 0.5373 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.397, allocations: 91.3 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3971, allocations: 5.188 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.3971, allocations: 7.469 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3972, allocations: 7.797 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3972, allocations: 1.125 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3973, allocations: 119.3 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3974, allocations: 0 / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.3977, allocations: 42.69 kB / 0.5375 GB, free: 7.484 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 (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.002282/0.4, allocations: 1.141 MB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4003, allocations: 75.91 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4003, allocations: 0 / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4004, allocations: 39.45 kB / 0.5388 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4008, allocations: 24.69 kB / 0.5388 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.4029, allocations: 1.545 MB / 0.5403 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4033, allocations: 0.6946 MB / 0.541 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.4034, allocations: 24.45 kB / 0.541 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.4035, allocations: 40.59 kB / 0.541 GB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.214e-06/0.4035, allocations: 0 / 0.541 GB, free: 4.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4319, allocations: 3.467 MB / 0.5444 GB, free: 2.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.414, allocations: 3.938 kB / 0.5444 GB, free: 2.457 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1)