Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 205.2 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.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.41 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.2261/0.2261, allocations: 46.13 MB / 344.4 MB, free: 11.44 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.002254/0.002254, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3743, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003056/0.3774, allocations: 1.656 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3785, allocations: 0.5849 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.3786, allocations: 1.156 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.3791, allocations: 453.9 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.3796, allocations: 291.7 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.3802, allocations: 178.1 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3804, allocations: 179.9 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.3805, allocations: 17.62 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3807, allocations: 118.8 kB / 0.534 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3809, allocations: 212.9 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3809, allocations: 3.344 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.3811, allocations: 37.42 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3812, allocations: 87.2 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.3813, allocations: 104 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3817, allocations: 277.1 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3817, allocations: 3.938 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3817, allocations: 1.094 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3817, allocations: 0 / 0.5347 GB, free: 10.64 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.0008439/0.3825, allocations: 0.6672 MB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3826, allocations: 13.09 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.3826, allocations: 40.27 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3827, allocations: 48 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.383, allocations: 308.8 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.383, allocations: 1.719 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3831, allocations: 6.828 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3833, allocations: 71 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3833, allocations: 0 / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3833, allocations: 0 / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3833, allocations: 1.344 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3834, allocations: 42.97 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.384, allocations: 406.8 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3842, allocations: 53.02 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.3842, allocations: 24.81 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3843, allocations: 9.094 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3843, allocations: 31.72 kB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3843, allocations: 0 / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008927/0.3852, allocations: 324.2 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3853, allocations: 52.62 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.3862, allocations: 0.8717 MB / 0.5376 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3862, allocations: 25.7 kB / 0.5376 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3864, allocations: 221.3 kB / 0.5378 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3865, allocations: 22.69 kB / 0.5378 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.3865, allocations: 19.78 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3867, allocations: 367.6 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3869, allocations: 36.78 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.387, allocations: 42.11 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3873, allocations: 91.47 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3873, allocations: 0 / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003454/0.3877, allocations: 170.9 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3877, allocations: 7.594 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3877, allocations: 1.125 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3877, allocations: 0 / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3878, allocations: 19.83 kB / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3878, allocations: 0 / 0.5385 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.3879, allocations: 22.48 kB / 0.5386 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.388, allocations: 1.969 kB / 0.5386 GB, free: 7.582 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.000221/0.3882, allocations: 222.8 kB / 0.5388 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.3883, allocations: 42.5 kB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.3887, allocations: 180.3 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3887, allocations: 1.219 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3887, allocations: 4 kB / 0.539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3887, allocations: 9.156 kB / 0.539 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.3895, allocations: 0.5134 MB / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3895, allocations: 1.062 kB / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.3896, allocations: 18.05 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3896, allocations: 1.156 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3896, allocations: 5.438 kB / 0.5395 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3896, allocations: 4 kB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3896, allocations: 0 / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.39, allocations: 254.8 kB / 0.5398 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/0.3901, allocations: 115.5 kB / 0.5399 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3902, allocations: 8.969 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3903, allocations: 13.48 kB / 0.5399 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3903, allocations: 7.188 kB / 0.5399 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3904, allocations: 2.219 kB / 0.5399 GB, free: 6.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007135/0.3911, allocations: 0.6582 MB / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3911, allocations: 0 / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3914, allocations: 24.91 kB / 0.5406 GB, free: 6.168 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.002114/0.3935, allocations: 1.099 MB / 0.5417 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3938, allocations: 96.25 kB / 0.5418 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3939, allocations: 5.094 kB / 0.5418 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.394, allocations: 52.48 kB / 0.5418 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3945, allocations: 28.23 kB / 0.5418 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.3994, allocations: 3.38 MB / 0.5451 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3999, allocations: 0.826 MB / 0.5459 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.4, allocations: 16.97 kB / 0.546 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.4002, allocations: 119.4 kB / 0.5461 GB, free: 1.562 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4002, allocations: 0 / 0.5461 GB, free: 1.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4308, allocations: 6.274 MB / 0.5522 GB, free: 11.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.125, allocations: 8.781 kB / 0.5522 GB, free: 11.38 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)