Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, 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.001585/0.001585, 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.474/1.474, 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.2226/0.2226, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.00242/0.00242, allocations: 84.06 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3134, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003131/0.3165, allocations: 1.615 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3177, allocations: 0.5401 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3177, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3181, allocations: 72.31 kB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.3184, allocations: 99.62 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3187, allocations: 95.19 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3189, allocations: 91.36 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.319, allocations: 11.53 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.3191, allocations: 31.44 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3192, allocations: 46.98 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3192, allocations: 3.812 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.3193, allocations: 45.08 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.3193, allocations: 27.56 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3194, allocations: 33.38 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3196, allocations: 102.8 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3196, allocations: 3.984 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3196, allocations: 1.719 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3196, allocations: 0 / 0.5334 GB, free: 11.34 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.0005071/0.3201, allocations: 409.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3202, allocations: 9.156 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3202, allocations: 32.03 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.3202, allocations: 14.16 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3205, allocations: 207 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.3205, allocations: 6.562 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3205, allocations: 1.281 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3207, allocations: 54.67 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3207, allocations: 1.625 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3207, allocations: 8 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3207, allocations: 5.578 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.3208, allocations: 26.09 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3213, allocations: 298.8 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3214, allocations: 43.06 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.3214, allocations: 11.73 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3215, allocations: 5.453 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3215, allocations: 38.5 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.3215, allocations: 5.375 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009029/0.3224, allocations: 220.4 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3225, allocations: 52.78 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3227, allocations: 207.9 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3227, allocations: 31.08 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3228, allocations: 109.6 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3228, allocations: 30.44 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3229, allocations: 23.2 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.323, allocations: 323 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.3231, allocations: 21.73 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.3232, allocations: 25.73 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3234, allocations: 64.45 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3234, allocations: 0 / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002174/0.3236, allocations: 100.2 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3236, allocations: 5.5 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3236, allocations: 0 / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3236, allocations: 0 / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3238, allocations: 18.92 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3238, allocations: 3.938 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.3238, allocations: 11.97 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3238, allocations: 1.688 kB / 0.5357 GB, free: 9.168 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.0001036/0.324, allocations: 123.9 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.324, allocations: 12.81 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.3243, allocations: 127.5 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3243, allocations: 1.062 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3243, allocations: 7.938 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3243, allocations: 1.25 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.3249, allocations: 401.8 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3249, allocations: 0 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.325, allocations: 22.02 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.325, allocations: 1.094 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.325, allocations: 5.062 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3251, allocations: 9.188 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3251, allocations: 1.094 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3253, allocations: 203.4 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3254, allocations: 88.28 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3254, allocations: 1.219 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.3255, allocations: 7.688 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3256, allocations: 11.19 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3256, allocations: 3.406 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3257, allocations: 153.7 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3257, allocations: 7.875 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.326, allocations: 22.73 kB / 0.5369 GB, free: 8.121 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 (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.002197/0.3282, allocations: 1.077 MB / 0.5379 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3285, allocations: 66.86 kB / 0.538 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3285, allocations: 0 / 0.538 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.3286, allocations: 46.16 kB / 0.538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.329, allocations: 23.67 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.331, allocations: 1.641 MB / 0.5396 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3314, allocations: 0.7061 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.628e-05/0.3315, allocations: 8.234 kB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.3316, allocations: 33.86 kB / 0.5404 GB, free: 5.043 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3316, allocations: 3.938 kB / 0.5404 GB, free: 5.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.3576, allocations: 3.05 MB / 0.5433 GB, free: 3.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.416, allocations: 13.44 kB / 0.5434 GB, free: 3.371 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1)