Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 117.6 kB / 17.78 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.001379/0.001379, allocations: 200.7 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.556/1.556, 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.2664/0.2664, 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.002323/0.002323, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4756, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00339/0.479, allocations: 1.601 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4802, allocations: 0.5286 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.4803, allocations: 4 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.4805, allocations: 24.58 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.4808, allocations: 75.45 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.4811, allocations: 91.7 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.4813, allocations: 60.89 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4814, allocations: 19.11 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.4815, allocations: 24.22 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.4816, allocations: 25.47 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.4816, allocations: 2.656 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.4817, allocations: 40.86 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.4817, allocations: 11.64 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.4818, allocations: 20.31 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.482, allocations: 83.41 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.482, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.482, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.482, allocations: 1.656 kB / 0.5332 GB, free: 11.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005229/0.4825, allocations: 386.4 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4826, allocations: 9.625 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.4826, allocations: 32.12 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4827, allocations: 9.016 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4829, allocations: 192.4 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4829, allocations: 5.75 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4829, allocations: 1.75 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.4831, allocations: 48.62 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4831, allocations: 3.984 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.4831, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4831, allocations: 1.375 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.4832, allocations: 20.36 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4837, allocations: 280 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4839, allocations: 43.06 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.484, allocations: 19.81 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.484, allocations: 7.969 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4841, allocations: 31.94 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4841, allocations: 0 / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005948/0.4847, allocations: 141.9 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.4847, allocations: 52.78 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4849, allocations: 160.9 kB / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4849, allocations: 29.7 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.485, allocations: 92.27 kB / 0.5347 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.4851, allocations: 18.59 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.4851, allocations: 17.84 kB / 0.5347 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4853, allocations: 324.1 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.4854, allocations: 22.92 kB / 0.535 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.4854, allocations: 18.98 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4856, allocations: 52.39 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4856, allocations: 0 / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.4858, allocations: 75.88 kB / 0.5352 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4858, allocations: 9.438 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4858, allocations: 0 / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4859, allocations: 1.375 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4859, allocations: 17.61 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.486, allocations: 3.938 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.486, allocations: 8.125 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.486, allocations: 5.312 kB / 0.5352 GB, free: 9.379 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 (5): * Single equations (assignments): 5 * 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 9.905e-05/0.4861, allocations: 118 kB / 0.5353 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4862, allocations: 8.078 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4864, allocations: 89.94 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4864, allocations: 0 / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4865, allocations: 0 / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4865, allocations: 1.75 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.487, allocations: 349 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.487, allocations: 1.438 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.487, allocations: 8.875 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.487, allocations: 5.297 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4871, allocations: 0 / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4871, allocations: 8.969 kB / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4871, allocations: 192 / 0.5358 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.4873, allocations: 180.7 kB / 0.536 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.4874, allocations: 82.56 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4875, allocations: 5.297 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4876, allocations: 10.12 kB / 0.536 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4876, allocations: 10.22 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4876, allocations: 1.594 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4878, allocations: 118.4 kB / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4878, allocations: 0 / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.4881, allocations: 13.91 kB / 0.5362 GB, free: 8.445 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 (5): * Single equations (assignments): 5 * 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.002011/0.4901, allocations: 1.013 MB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4903, allocations: 48.25 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4903, allocations: 0 / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.4904, allocations: 23.45 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.4908, allocations: 25.36 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.4927, allocations: 1.436 MB / 0.5387 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.4931, allocations: 0.6958 MB / 0.5393 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.4932, allocations: 13 kB / 0.5394 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.4933, allocations: 23.48 kB / 0.5394 GB, free: 5.527 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4933, allocations: 5.312 kB / 0.5394 GB, free: 5.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.5198, allocations: 2.544 MB / 0.5419 GB, free: 4.094 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.634, allocations: 9.469 kB / 0.5419 GB, free: 4.09 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)