Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 204.7 kB / 18.74 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.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.48 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.2342/0.2342, 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.002371/0.002371, allocations: 76.2 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3826, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003286/0.386, allocations: 1.671 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3878, allocations: 1.2 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.3879, allocations: 0 / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3881, allocations: 25.3 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3884, allocations: 89.72 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.3889, allocations: 179.9 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3891, allocations: 83.41 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3892, allocations: 17.98 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3892, allocations: 27.27 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3894, allocations: 40.77 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3894, allocations: 8.25 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3896, allocations: 101.2 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.3897, allocations: 18.14 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.3898, allocations: 38.25 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3901, allocations: 154.5 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3901, allocations: 0 / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3901, allocations: 0 / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3901, allocations: 1.156 kB / 0.5342 GB, free: 10.67 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.0006428/0.3907, allocations: 423.2 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3908, allocations: 13.19 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.3908, allocations: 35.78 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3909, allocations: 9.078 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3911, allocations: 200.1 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3912, allocations: 5.625 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3912, allocations: 10.61 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3914, allocations: 78.8 kB / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3914, allocations: 0 / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3914, allocations: 5.312 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3915, allocations: 0 / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3916, allocations: 43.95 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.3922, allocations: 314.4 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3923, allocations: 52.75 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.3924, allocations: 33.8 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3924, allocations: 0 / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3925, allocations: 31.69 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3925, allocations: 1.312 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008756/0.3934, allocations: 229.7 kB / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.3934, allocations: 82.47 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3936, allocations: 156.3 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3937, allocations: 29.7 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3937, allocations: 104.2 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3938, allocations: 22.55 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.3938, allocations: 28.58 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.394, allocations: 321.6 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3942, allocations: 36.59 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3943, allocations: 54.38 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3946, allocations: 99.62 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3946, allocations: 0 / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003263/0.3949, allocations: 120.3 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3949, allocations: 5.656 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3949, allocations: 0 / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.395, allocations: 5.109 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3951, allocations: 22.05 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3951, allocations: 1.156 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.3952, allocations: 18.27 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.3952, allocations: 2.219 kB / 0.5366 GB, free: 8.375 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 (7): * Single equations (assignments): 7 * 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.0001119/0.3954, allocations: 115.1 kB / 0.5368 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3954, allocations: 16.16 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3958, allocations: 139.9 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3958, allocations: 1.344 kB / 0.5369 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3959, allocations: 3.938 kB / 0.5369 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3959, allocations: 7.922 kB / 0.5369 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.3966, allocations: 415.9 kB / 0.5373 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3966, allocations: 0 / 0.5373 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.3967, allocations: 23.48 kB / 0.5373 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3967, allocations: 0 / 0.5373 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3967, allocations: 12.89 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3967, allocations: 1.094 kB / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3967, allocations: 0 / 0.5374 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.3971, allocations: 227.9 kB / 0.5376 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3972, allocations: 84.47 kB / 0.5377 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.3973, allocations: 8.984 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3974, allocations: 10.59 kB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3974, allocations: 6.297 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3974, allocations: 6.375 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3976, allocations: 119 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3976, allocations: 1.125 kB / 0.5378 GB, free: 7.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3979, allocations: 43.14 kB / 0.5378 GB, free: 7.328 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 (7): * Single equations (assignments): 7 * 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.002414/0.4003, allocations: 1.145 MB / 0.539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.4007, allocations: 93.55 kB / 0.539 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4007, allocations: 0 / 0.539 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.4009, allocations: 52.33 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4012, allocations: 21.39 kB / 0.5391 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4037, allocations: 1.638 MB / 0.5407 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4041, allocations: 0.7037 MB / 0.5414 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.4042, allocations: 31.8 kB / 0.5414 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.4043, allocations: 35.42 kB / 0.5415 GB, free: 4.207 MB / 398.1 MB Notification: Performance of SimCode: time 2.595e-06/0.4043, allocations: 96 / 0.5415 GB, free: 4.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.4311, allocations: 3.595 MB / 0.545 GB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.586, allocations: 2.266 kB / 0.545 GB, free: 2.188 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1)