Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002143/0.002143, allocations: 117.6 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.002123/0.002123, allocations: 199.9 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.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.49 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.225/0.225, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.003413/0.003413, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3377, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003538/0.3413, allocations: 2.044 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.3432, allocations: 1.022 MB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3433, allocations: 2.75 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.3438, allocations: 252.1 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.3443, allocations: 261.9 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3454, allocations: 499.5 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.3459, allocations: 327.1 kB / 0.5349 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.3461, allocations: 65.16 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.3463, allocations: 143.6 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3466, allocations: 205.6 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3466, allocations: 16.38 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3468, allocations: 101 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.347, allocations: 88.89 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3471, allocations: 124.6 kB / 0.5356 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.3476, allocations: 366.8 kB / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3476, allocations: 0 / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3476, allocations: 0 / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3476, allocations: 0 / 0.536 GB, free: 9.531 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009762/0.3486, allocations: 0.6946 MB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3487, allocations: 12.88 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.3487, allocations: 50.36 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/0.3488, allocations: 48.73 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.3493, allocations: 339.4 kB / 0.5371 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3493, allocations: 12.2 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.3493, allocations: 8.344 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.3496, allocations: 110 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3496, allocations: 0.7188 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3496, allocations: 9.469 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3497, allocations: 2.906 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3499, allocations: 75.64 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.3506, allocations: 0.4951 MB / 0.5378 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3508, allocations: 91.16 kB / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.3509, allocations: 32.56 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.351, allocations: 14.08 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.351, allocations: 39.59 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.351, allocations: 0.9688 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001071/0.3521, allocations: 400.8 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3522, allocations: 52.88 kB / 0.5384 GB, free: 7.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007761/0.3529, allocations: 0.5966 MB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.353, allocations: 26.77 kB / 0.539 GB, free: 7.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3532, allocations: 220.4 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.3532, allocations: 57.52 kB / 0.5392 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.3533, allocations: 33.52 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3535, allocations: 351.8 kB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3537, allocations: 50.69 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3538, allocations: 56.38 kB / 0.5397 GB, free: 6.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.3541, allocations: 120 kB / 0.5398 GB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3541, allocations: 0 / 0.5398 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004483/0.3546, allocations: 206.2 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3546, allocations: 4.469 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3546, allocations: 1.375 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3546, allocations: 0 / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.3548, allocations: 31.36 kB / 0.54 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.3548, allocations: 5.094 kB / 0.5401 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.484e-05/0.3549, allocations: 13.55 kB / 0.5401 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3549, allocations: 4.188 kB / 0.5401 GB, free: 6.277 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 (17): * Single equations (assignments): 17 * 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.0002239/0.3552, allocations: 179.3 kB / 0.5402 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-05/0.3553, allocations: 45.95 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.3558, allocations: 238.6 kB / 0.5405 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3558, allocations: 4.938 kB / 0.5405 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3559, allocations: 1.25 kB / 0.5405 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3559, allocations: 0 / 0.5405 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.357, allocations: 0.6535 MB / 0.5412 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.357, allocations: 0 / 0.5412 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3571, allocations: 34.47 kB / 0.5412 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3571, allocations: 1.125 kB / 0.5412 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3571, allocations: 2.188 kB / 0.5412 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3571, allocations: 8.969 kB / 0.5412 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3571, allocations: 0 / 0.5412 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.3576, allocations: 301.3 kB / 0.5415 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3577, allocations: 123.3 kB / 0.5416 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.3577, allocations: 5.156 kB / 0.5416 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3579, allocations: 8.562 kB / 0.5416 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3579, allocations: 17.61 kB / 0.5416 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3579, allocations: 8.953 kB / 0.5416 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.3585, allocations: 436.3 kB / 0.5421 GB, free: 4.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3585, allocations: 1.125 kB / 0.5421 GB, free: 4.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.3589, allocations: 52.42 kB / 0.5421 GB, free: 4.793 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 (17): * Single equations (assignments): 17 * 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.003665/0.3626, allocations: 1.435 MB / 0.5435 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.363, allocations: 129.4 kB / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.363, allocations: 0 / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3631, allocations: 72.12 kB / 0.5437 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.3638, allocations: 82.16 kB / 0.5438 GB, free: 3.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.3684, allocations: 3.184 MB / 0.5469 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3689, allocations: 0.8181 MB / 0.5477 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.3691, allocations: 42.27 kB / 0.5477 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.3693, allocations: 139.4 kB / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3693, allocations: 0 / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4006, allocations: 7.643 MB / 0.5553 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.096, allocations: 11.92 kB / 0.5553 GB, free: 8.332 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1)