Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 122.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.001359/0.001359, allocations: 202 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.43 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.2801/0.2801, allocations: 46.11 MB / 344.4 MB, free: 11.44 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.003512/0.003512, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3978, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003267/0.4012, allocations: 1.652 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4023, allocations: 0.5503 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4024, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.4026, allocations: 33.41 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.4029, allocations: 85.73 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.4032, allocations: 120.2 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.4033, allocations: 88.09 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4035, allocations: 28.48 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.4035, allocations: 37.38 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.4036, allocations: 33 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4037, allocations: 4.594 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4038, allocations: 54.52 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.4038, allocations: 23.48 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.4039, allocations: 39.19 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.4041, allocations: 112.3 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4041, allocations: 1.031 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4041, allocations: 4 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.4041, allocations: 3.938 kB / 0.5334 GB, free: 11.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000572/0.4047, allocations: 411.9 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4048, allocations: 9.5 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.4048, allocations: 36.12 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4048, allocations: 14.53 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.4051, allocations: 195 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4051, allocations: 6.938 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4051, allocations: 4.25 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.4054, allocations: 84.25 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4054, allocations: 5.125 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4054, allocations: 4 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4054, allocations: 2.375 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4055, allocations: 47.09 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.4061, allocations: 332.1 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4062, allocations: 76.23 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.4063, allocations: 28.47 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.4063, allocations: 1.031 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4064, allocations: 31.84 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.4064, allocations: 0 / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.4074, allocations: 327.7 kB / 0.535 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4075, allocations: 60.7 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4076, allocations: 162.1 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.4077, allocations: 31.06 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.4077, allocations: 96.22 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.4078, allocations: 53.08 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.4078, allocations: 31.33 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.408, allocations: 321.6 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4081, allocations: 43.34 kB / 0.5357 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.4082, allocations: 46.09 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.4084, allocations: 109.4 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4085, allocations: 5.375 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002877/0.4088, allocations: 156.8 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4088, allocations: 5.719 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4088, allocations: 0 / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4088, allocations: 0.9688 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4089, allocations: 29.28 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4089, allocations: 5 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.409, allocations: 7.344 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.409, allocations: 7.812 kB / 0.5361 GB, free: 8.863 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 (13): * Single equations (assignments): 13 * 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.0001136/0.4091, allocations: 126 kB / 0.5362 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.4092, allocations: 12.2 kB / 0.5362 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.4096, allocations: 182.8 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4096, allocations: 1.219 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4096, allocations: 0 / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4096, allocations: 1.219 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.4103, allocations: 0.4945 MB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4103, allocations: 4 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.4104, allocations: 29.42 kB / 0.5369 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4105, allocations: 1.062 kB / 0.5369 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4105, allocations: 5.25 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4105, allocations: 1.125 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4105, allocations: 1.156 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4108, allocations: 260 kB / 0.5372 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.4109, allocations: 84.16 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4109, allocations: 1.844 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.411, allocations: 7.031 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4111, allocations: 17.61 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4111, allocations: 7.438 kB / 0.5373 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.4112, allocations: 125 kB / 0.5374 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4112, allocations: 0 / 0.5374 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.4115, allocations: 30.64 kB / 0.5374 GB, free: 7.73 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 (13): * Single equations (assignments): 13 * 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.002204/0.4137, allocations: 1.122 MB / 0.5385 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.414, allocations: 116.5 kB / 0.5386 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.414, allocations: 0 / 0.5386 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4142, allocations: 64.81 kB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4145, allocations: 22.94 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4167, allocations: 1.758 MB / 0.5404 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.417, allocations: 0.709 MB / 0.5411 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.4171, allocations: 25.25 kB / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4172, allocations: 43.48 kB / 0.5412 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4172, allocations: 4 kB / 0.5412 GB, free: 4.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4429, allocations: 3.278 MB / 0.5444 GB, free: 2.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.413, allocations: 14.64 kB / 0.5444 GB, free: 2.738 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_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_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1)