Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 121.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.001668/0.001668, allocations: 204.6 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.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.42 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.242/0.242, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002542/0.002542, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3819, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00366/0.3856, allocations: 1.688 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.387, allocations: 0.5733 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3871, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.3876, allocations: 73.8 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.388, allocations: 101.2 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.3885, allocations: 181.8 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3887, allocations: 95.61 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3888, allocations: 31.16 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.767e-05/0.3889, allocations: 32.36 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.389, allocations: 56.56 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3891, allocations: 4.125 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3892, allocations: 44.64 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.3893, allocations: 34.3 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.3894, allocations: 38.97 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3896, allocations: 127.3 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3897, allocations: 8 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3897, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3897, allocations: 1.344 kB / 0.5336 GB, free: 11.11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007009/0.3904, allocations: 434.4 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3904, allocations: 10.06 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3905, allocations: 40.09 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.3905, allocations: 14.28 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.3908, allocations: 209.4 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3908, allocations: 6.984 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.3909, allocations: 6.5 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3911, allocations: 77.22 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3911, allocations: 1.094 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3911, allocations: 0 / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3912, allocations: 1.188 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.3913, allocations: 45.42 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.3919, allocations: 334.6 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3921, allocations: 56.77 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.3922, allocations: 30.42 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3923, allocations: 1.094 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3923, allocations: 43.75 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3923, allocations: 0 / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001593/0.3939, allocations: 426.5 kB / 0.5353 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.394, allocations: 52.78 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3942, allocations: 214.8 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3943, allocations: 39.06 kB / 0.5356 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.3944, allocations: 101.6 kB / 0.5357 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3944, allocations: 37.19 kB / 0.5357 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3945, allocations: 29.95 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3947, allocations: 330.8 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3948, allocations: 56.39 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.395, allocations: 57.14 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.3953, allocations: 127.9 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3954, allocations: 5.641 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003831/0.3957, allocations: 164.7 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3958, allocations: 6.344 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3958, allocations: 4 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3958, allocations: 3.938 kB / 0.5365 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3959, allocations: 32.28 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.396, allocations: 1.156 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.396, allocations: 9.984 kB / 0.5365 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3961, allocations: 3.188 kB / 0.5365 GB, free: 8.664 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 (11): * Single equations (assignments): 11 * 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.0001415/0.3962, allocations: 134.8 kB / 0.5366 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3963, allocations: 22.19 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.3968, allocations: 180 kB / 0.5368 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3968, allocations: 5.125 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3968, allocations: 4.922 kB / 0.5368 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3968, allocations: 0 / 0.5368 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.3976, allocations: 0.5118 MB / 0.5373 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3976, allocations: 1.594 kB / 0.5373 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3977, allocations: 32.23 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3977, allocations: 1.062 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3978, allocations: 2.375 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3978, allocations: 1.156 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3978, allocations: 1.094 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.3982, allocations: 278.1 kB / 0.5376 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.3983, allocations: 92.72 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3983, allocations: 5.25 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3985, allocations: 14.83 kB / 0.5378 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3985, allocations: 17.14 kB / 0.5378 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3985, allocations: 3.438 kB / 0.5378 GB, free: 7.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3987, allocations: 165.9 kB / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3987, allocations: 0 / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.399, allocations: 34.95 kB / 0.538 GB, free: 7.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002532/0.4016, allocations: 1.157 MB / 0.5391 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.402, allocations: 125 kB / 0.5392 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.402, allocations: 3.938 kB / 0.5392 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4022, allocations: 76.02 kB / 0.5393 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.4026, allocations: 26.95 kB / 0.5393 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.4056, allocations: 1.979 MB / 0.5413 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.406, allocations: 0.7219 MB / 0.542 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4061, allocations: 35.19 kB / 0.542 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.4062, allocations: 47.42 kB / 0.542 GB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4062, allocations: 0 / 0.542 GB, free: 4.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.4338, allocations: 3.637 MB / 0.5456 GB, free: 2.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.611, allocations: 7.094 kB / 0.5456 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1)