Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.00126, allocations: 122.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.001282/0.001282, allocations: 202 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.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.5 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.2361/0.2361, allocations: 46.12 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.002227/0.002227, allocations: 76.09 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3641, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.002969/0.3671, allocations: 1.656 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.369, allocations: 1.195 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.369, allocations: 5.312 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3693, allocations: 27.56 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.3696, allocations: 94.05 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.37, allocations: 176.8 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3702, allocations: 74.89 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3703, allocations: 21.66 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.3704, allocations: 36.02 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.3705, allocations: 39.67 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3706, allocations: 4.906 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3707, allocations: 97.75 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.3708, allocations: 25.73 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3709, allocations: 29.58 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.3712, allocations: 159.1 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3712, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3712, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3712, allocations: 0 / 0.5342 GB, free: 10.65 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.0005783/0.3718, allocations: 420.1 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3718, allocations: 10.28 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.3719, allocations: 34.73 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.3719, allocations: 21.14 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.3721, allocations: 199.2 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3722, allocations: 9.672 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3722, allocations: 7.125 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3724, allocations: 78.56 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3724, allocations: 1.375 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3724, allocations: 0 / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3724, allocations: 1.375 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3726, allocations: 47.28 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.373, allocations: 309.8 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3732, allocations: 45.8 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3733, allocations: 29.31 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3733, allocations: 0 / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3733, allocations: 43.88 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3733, allocations: 0 / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007966/0.3741, allocations: 235.4 kB / 0.5356 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3742, allocations: 82.42 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3744, allocations: 159 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3744, allocations: 27.08 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3745, allocations: 104.2 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3745, allocations: 22.53 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3746, allocations: 19.22 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3747, allocations: 325.6 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3749, allocations: 37.97 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.375, allocations: 53.14 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3753, allocations: 96.27 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3753, allocations: 0 / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003082/0.3756, allocations: 127.8 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3756, allocations: 5.969 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3756, allocations: 0 / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3757, allocations: 0.9375 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3758, allocations: 18.64 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3758, allocations: 1.344 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.3759, allocations: 22.67 kB / 0.5367 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3759, allocations: 1.156 kB / 0.5367 GB, free: 8.355 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.0001058/0.376, allocations: 116.3 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3761, allocations: 15.61 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3765, allocations: 143.5 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3765, allocations: 9.031 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3765, allocations: 0 / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3765, allocations: 3.938 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.3771, allocations: 412 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3772, allocations: 3.984 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3773, allocations: 23.17 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3773, allocations: 4 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3773, allocations: 5.219 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3773, allocations: 1.188 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3773, allocations: 0 / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.3777, allocations: 216.6 kB / 0.5376 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3778, allocations: 91.2 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3778, allocations: 9.25 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3779, allocations: 10.36 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3779, allocations: 3.719 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.378, allocations: 5.5 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.3781, allocations: 118.9 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3781, allocations: 0 / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.3784, allocations: 43.67 kB / 0.5378 GB, free: 7.316 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.002358/0.3808, allocations: 1.154 MB / 0.539 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.3811, allocations: 89.22 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3811, allocations: 4 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3813, allocations: 52.31 kB / 0.5391 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3817, allocations: 17.08 kB / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.384, allocations: 1.639 MB / 0.5407 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3843, allocations: 0.7025 MB / 0.5414 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.3845, allocations: 27.95 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.3845, allocations: 36.02 kB / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3846, allocations: 0 / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4115, allocations: 3.602 MB / 0.545 GB, free: 2.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.555, allocations: 9.734 kB / 0.545 GB, free: 2.164 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)