Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002127/0.002127, allocations: 117.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002507/0.002507, allocations: 200.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247 MB, free: 10.38 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.2258/0.2258, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.00227/0.002271, allocations: 83.84 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003478/0.36, allocations: 1.67 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.362, allocations: 1.198 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.3621, allocations: 1.531 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.3624, allocations: 25.02 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.3627, allocations: 85.67 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.3632, allocations: 177.1 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3634, allocations: 78.5 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3635, allocations: 21.36 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.3636, allocations: 31.52 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3638, allocations: 36.22 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3638, allocations: 5.5 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.364, allocations: 100.2 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.3641, allocations: 26.73 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.3641, allocations: 29.3 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3644, allocations: 151.5 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3644, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3644, allocations: 4 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3645, 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.0006526/0.3651, allocations: 423.7 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3652, allocations: 9.625 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3652, allocations: 40.06 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.3653, allocations: 9.016 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3656, allocations: 207.2 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3656, allocations: 1.75 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3656, allocations: 7.125 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3658, allocations: 78.52 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3659, allocations: 1.375 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3659, allocations: 4 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3659, allocations: 1.375 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.366, allocations: 41.89 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3665, allocations: 315.1 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3667, allocations: 45.81 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.3668, allocations: 29.3 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3668, allocations: 0 / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3669, allocations: 39.88 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3669, allocations: 0 / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008494/0.3677, allocations: 232 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3678, allocations: 78.42 kB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.368, allocations: 167.2 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.368, allocations: 30.61 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.3681, allocations: 103.8 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3682, allocations: 23.14 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.3682, allocations: 23.86 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3684, allocations: 316.8 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3685, allocations: 41.39 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3687, allocations: 54.69 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.3689, allocations: 83.2 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3689, allocations: 0 / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003501/0.3693, allocations: 140.5 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3693, allocations: 5.562 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3693, allocations: 0 / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3693, allocations: 5.266 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3695, allocations: 22.59 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3695, allocations: 1.094 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.3696, allocations: 9.781 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3696, allocations: 6.266 kB / 0.5366 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.0001151/0.3697, allocations: 124.1 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3698, allocations: 11.28 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.3702, allocations: 139.5 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3702, allocations: 1.062 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3702, allocations: 0 / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3702, allocations: 7.875 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.3709, allocations: 415.8 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3709, allocations: 1.438 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.813e-05/0.371, allocations: 26.39 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.371, allocations: 0 / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.371, allocations: 9.156 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.371, allocations: 1.438 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.371, allocations: 3.984 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.3714, allocations: 220.1 kB / 0.5376 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3716, allocations: 83.22 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3716, allocations: 4.969 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3717, allocations: 14.7 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3718, allocations: 10.77 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.3718, allocations: 2.219 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3719, allocations: 118.5 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3719, allocations: 1.344 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3722, allocations: 38.34 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.002417/0.3746, allocations: 1.15 MB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.375, allocations: 96.88 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.375, allocations: 1.188 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3752, allocations: 44.31 kB / 0.5391 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3755, allocations: 33.22 kB / 0.5391 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3779, allocations: 1.639 MB / 0.5407 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3783, allocations: 0.706 MB / 0.5414 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.3784, allocations: 28.3 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.3785, allocations: 31.67 kB / 0.5415 GB, free: 4.191 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3785, allocations: 0 / 0.5415 GB, free: 4.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4077, allocations: 3.609 MB / 0.545 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.649, allocations: 2.141 kB / 0.545 GB, free: 2.16 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1)