Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002025, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.47 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.2335/0.2335, allocations: 46.11 MB / 344.3 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.002284/0.002284, allocations: 79.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.386, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003195/0.3892, allocations: 1.642 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.3902, allocations: 0.6839 MB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.3902, allocations: 1.031 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.3905, allocations: 35.58 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.3907, allocations: 41.27 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.979e-06/0.3907, allocations: 0 / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.3909, allocations: 27.66 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.3909, allocations: 2.938 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.391, allocations: 20.08 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.391, allocations: 19.83 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3911, allocations: 0 / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.3911, allocations: 7.719 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3912, allocations: 19.67 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.3912, allocations: 21.06 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3914, allocations: 71.55 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3914, allocations: 0 / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3914, allocations: 1.156 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3914, allocations: 0 / 0.5331 GB, free: 11.39 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004274/0.3918, allocations: 372.1 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3919, allocations: 10.38 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.3919, allocations: 46.41 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.392, allocations: 6.234 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3921, allocations: 176.1 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3922, allocations: 2.281 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3922, allocations: 2.438 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3924, allocations: 127.1 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3924, allocations: 7.922 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3924, allocations: 5.141 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.3925, allocations: 27.33 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3926, allocations: 44.03 kB / 0.5339 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.3933, allocations: 0.8822 MB / 0.5348 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3934, allocations: 170.2 kB / 0.535 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3935, allocations: 88.08 kB / 0.535 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.3935, allocations: 75.28 kB / 0.5351 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.628e-05/0.3936, allocations: 107.3 kB / 0.5352 GB, free: 9.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3936, allocations: 7.875 kB / 0.5352 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.405e-05/0.3937, allocations: 41.92 kB / 0.5353 GB, free: 9.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3938, allocations: 126.7 kB / 0.5354 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.394, allocations: 182.6 kB / 0.5356 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.394, allocations: 25.7 kB / 0.5356 GB, free: 8.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3942, allocations: 155.8 kB / 0.5357 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.3942, allocations: 5.375 kB / 0.5357 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3942, allocations: 44.78 kB / 0.5358 GB, free: 8.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3944, allocations: 317.6 kB / 0.5361 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.3945, allocations: 31.22 kB / 0.5361 GB, free: 8.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3946, allocations: 159 kB / 0.5363 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3949, allocations: 207.7 kB / 0.5365 GB, free: 7.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3949, allocations: 1.375 kB / 0.5365 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003232/0.3952, allocations: 201.1 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3953, allocations: 6.875 kB / 0.5367 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3953, allocations: 9.484 kB / 0.5367 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3953, allocations: 5.5 kB / 0.5367 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3954, allocations: 44.73 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.3955, allocations: 6.094 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.3956, allocations: 24.08 kB / 0.5367 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3956, allocations: 13.62 kB / 0.5368 GB, free: 7.777 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001684/0.3957, allocations: 214.7 kB / 0.537 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.3958, allocations: 116.9 kB / 0.5371 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.3959, allocations: 122.1 kB / 0.5372 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/0.396, allocations: 180.2 kB / 0.5374 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-05/0.3961, allocations: 185.7 kB / 0.5375 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.71e-05/0.3962, allocations: 177.6 kB / 0.5377 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.3966, allocations: 428.1 kB / 0.5381 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-05/0.3966, allocations: 102.4 kB / 0.5382 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.3967, allocations: 110.3 kB / 0.5383 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.903e-05/0.3968, allocations: 176.3 kB / 0.5385 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.3969, allocations: 189.6 kB / 0.5387 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.27e-05/0.397, allocations: 181.6 kB / 0.5388 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.849e-05/0.3971, allocations: 177.6 kB / 0.539 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3973, allocations: 318.5 kB / 0.5393 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3974, allocations: 191.4 kB / 0.5395 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3975, allocations: 185.6 kB / 0.5397 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.3976, allocations: 102.4 kB / 0.5398 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3977, allocations: 181.6 kB / 0.5399 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.3978, allocations: 101 kB / 0.54 GB, free: 4.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3979, allocations: 133.9 kB / 0.5402 GB, free: 4.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3979, allocations: 4 kB / 0.5402 GB, free: 4.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.3982, allocations: 16.34 kB / 0.5402 GB, free: 4.133 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 (0): * Single equations (assignments): 0 * 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.001136/0.3994, allocations: 0.9113 MB / 0.5411 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3996, allocations: 78.06 kB / 0.5412 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3996, allocations: 0 / 0.5412 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.3996, allocations: 1.188 kB / 0.5412 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.4001, allocations: 463 kB / 0.5416 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.402, allocations: 1.89 MB / 0.5434 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.4024, allocations: 0.6951 MB / 0.5441 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.4026, allocations: 50.55 kB / 0.5442 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.4027, allocations: 26.27 kB / 0.5442 GB, free: 188 kB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4027, allocations: 0 / 0.5442 GB, free: 188 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.4275, allocations: 2.131 MB / 0.5463 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.4, allocations: 1.969 kB / 0.5463 GB, free: 15 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1)