Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.00138/0.00138, allocations: 122.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 202 kB / 18.74 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, 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.2365/0.2365, allocations: 46.12 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.002417/0.002417, allocations: 72.09 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4184, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003315/0.4218, allocations: 1.619 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4237, allocations: 1.157 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.4238, allocations: 0 / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.4241, allocations: 24.56 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.4244, allocations: 89.86 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.4247, allocations: 95.36 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.4249, allocations: 77.94 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.425, allocations: 17.42 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.4251, allocations: 22.92 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.4253, allocations: 47.73 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4253, allocations: 3.781 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.4255, allocations: 101.4 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.4255, allocations: 11.75 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.4256, allocations: 37.72 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.4259, allocations: 149.1 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4259, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4259, allocations: 3.938 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4259, allocations: 0 / 0.534 GB, free: 10.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006616/0.4266, allocations: 422.9 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4266, allocations: 14.06 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.4267, allocations: 32.12 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.4268, allocations: 9.328 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.427, allocations: 198.3 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.427, allocations: 1.75 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4271, allocations: 7.109 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4272, allocations: 71.83 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4273, allocations: 1.375 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4273, allocations: 8 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4273, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.4274, allocations: 29.84 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.4279, allocations: 302.8 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.428, allocations: 51.17 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.4281, allocations: 22.61 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4281, allocations: 5.359 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.4281, allocations: 34.56 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.236e-06/0.4282, allocations: 1.375 kB / 0.5351 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.4288, allocations: 173.2 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.4289, allocations: 86.42 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4291, allocations: 167.5 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4291, allocations: 25.7 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4292, allocations: 96.25 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.4293, allocations: 26.5 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.4293, allocations: 24.58 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4295, allocations: 321.6 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.4296, allocations: 21.73 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.4297, allocations: 42.2 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.4299, allocations: 64.52 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4299, allocations: 0 / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002285/0.4301, allocations: 107.3 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4301, allocations: 5.312 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4301, allocations: 0 / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4302, allocations: 5.125 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4303, allocations: 18.02 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4303, allocations: 9.312 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.4303, allocations: 3.094 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.4304, allocations: 2.094 kB / 0.5363 GB, free: 8.578 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.0001009/0.4305, allocations: 118.6 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4305, allocations: 7.828 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.4308, allocations: 127.2 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4309, allocations: 0 / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4309, allocations: 5.062 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4309, allocations: 0 / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.4315, allocations: 384.3 kB / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4315, allocations: 0 / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.4316, allocations: 26.3 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4316, allocations: 7.938 kB / 0.5369 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4316, allocations: 1.156 kB / 0.5369 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4316, allocations: 1 kB / 0.5369 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4316, allocations: 0 / 0.5369 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.4319, allocations: 195.4 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.432, allocations: 91.36 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.432, allocations: 5.562 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.4321, allocations: 7.312 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4321, allocations: 10.38 kB / 0.5372 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4321, allocations: 6.125 kB / 0.5372 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4323, allocations: 112.7 kB / 0.5373 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4323, allocations: 3.938 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.4326, allocations: 50.23 kB / 0.5374 GB, free: 7.562 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.002195/0.4348, allocations: 1.122 MB / 0.5385 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.435, allocations: 62.62 kB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.435, allocations: 0 / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.4351, allocations: 34.12 kB / 0.5386 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4355, allocations: 22.98 kB / 0.5386 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4377, allocations: 1.511 MB / 0.5401 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.4381, allocations: 0.6916 MB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.961e-05/0.4382, allocations: 18.5 kB / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.4383, allocations: 34.98 kB / 0.5408 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4383, allocations: 1.094 kB / 0.5408 GB, free: 4.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4656, allocations: 3.414 MB / 0.5441 GB, free: 2.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.581, allocations: 3.375 kB / 0.5441 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1)