Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 122.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.00221/0.00221, allocations: 202 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.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.44 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.3467/0.3467, 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.0036/0.0036, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4072, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003574/0.4109, allocations: 1.661 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.412, allocations: 0.5387 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.4121, allocations: 1.375 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.4124, allocations: 97.64 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.4127, allocations: 110.7 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.413, allocations: 98.91 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.4132, allocations: 98.66 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4134, allocations: 27.17 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.4135, allocations: 53.83 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.4136, allocations: 57.17 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.4136, allocations: 5.594 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4137, allocations: 46.28 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.4138, allocations: 26.05 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.4139, allocations: 42.84 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.4141, allocations: 134.1 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4141, allocations: 5.656 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4141, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.4141, allocations: 0 / 0.5335 GB, free: 11.17 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006506/0.4148, allocations: 428.6 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4148, allocations: 9.438 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.4149, allocations: 40.8 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.415, allocations: 15.38 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.4152, allocations: 205.9 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4152, allocations: 7.25 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.4153, allocations: 8.062 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4155, allocations: 81.2 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4155, allocations: 7.938 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.4155, allocations: 1.094 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4155, allocations: 1.188 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.4156, allocations: 38.75 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.4161, allocations: 332.1 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.4163, allocations: 66.05 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.4164, allocations: 23.84 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4164, allocations: 5.359 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4164, allocations: 31.94 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4164, allocations: 0 / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001077/0.4175, allocations: 320.7 kB / 0.5351 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.4176, allocations: 52.89 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4178, allocations: 246.8 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4178, allocations: 27.08 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.4179, allocations: 122.9 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.418, allocations: 41.14 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.418, allocations: 26.22 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4182, allocations: 323.1 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/0.4183, allocations: 39.09 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.4184, allocations: 33.14 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4186, allocations: 97.47 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4186, allocations: 0 / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002604/0.4189, allocations: 143.7 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4189, allocations: 5.781 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4189, allocations: 3.938 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4189, allocations: 3.938 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.419, allocations: 25.77 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4191, allocations: 0 / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.4191, allocations: 7.438 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4191, allocations: 7.359 kB / 0.5362 GB, free: 8.793 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.0001157/0.4192, allocations: 135.2 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4193, allocations: 18.77 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.4196, allocations: 159.5 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4197, allocations: 1.125 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4197, allocations: 1.062 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4197, allocations: 4 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.4203, allocations: 482.2 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4203, allocations: 5.234 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.4204, allocations: 27.77 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4204, allocations: 1.094 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4205, allocations: 2.156 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4205, allocations: 5.125 kB / 0.5371 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4205, allocations: 5 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.4208, allocations: 239.3 kB / 0.5373 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.4209, allocations: 96.88 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4209, allocations: 5.312 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.421, allocations: 3.406 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.421, allocations: 17.17 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.421, allocations: 3.75 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.4212, allocations: 178.3 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4212, allocations: 0 / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.4215, allocations: 26.28 kB / 0.5376 GB, free: 7.66 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.002159/0.4236, allocations: 1.122 MB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.4239, allocations: 101.6 kB / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4239, allocations: 0 / 0.5388 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.4241, allocations: 52.69 kB / 0.5388 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.4244, allocations: 27.64 kB / 0.5389 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4267, allocations: 1.848 MB / 0.5407 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4271, allocations: 0.7174 MB / 0.5414 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.4271, allocations: 20.03 kB / 0.5414 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.4272, allocations: 47.83 kB / 0.5414 GB, free: 4.426 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4272, allocations: 0 / 0.5414 GB, free: 4.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4541, allocations: 3.535 MB / 0.5449 GB, free: 2.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.824, allocations: 12.2 kB / 0.5449 GB, free: 2.527 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_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_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)