Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 203.9 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.445/1.445, allocations: 227.4 MB / 247 MB, free: 10.43 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.2407/0.2407, allocations: 46.11 MB / 344.4 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.002245/0.002245, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.381, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003177/0.3842, allocations: 1.663 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.386, allocations: 1.173 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.3861, allocations: 1.219 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3863, allocations: 15.83 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3866, allocations: 95.48 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.387, allocations: 127.7 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3871, allocations: 72.69 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3872, allocations: 16.23 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.3873, allocations: 42.78 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3875, allocations: 30.86 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3875, allocations: 5.5 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3877, allocations: 104.1 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3877, allocations: 13.48 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.3878, allocations: 33.28 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.388, allocations: 144.8 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3881, allocations: 1.375 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3881, allocations: 0 / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3881, allocations: 3.938 kB / 0.5341 GB, free: 10.71 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.0006223/0.3887, allocations: 434.2 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3887, allocations: 9.625 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.3888, allocations: 36.06 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3888, allocations: 9.016 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3891, allocations: 193.9 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3891, allocations: 1.75 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3891, allocations: 7.078 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3893, allocations: 85.17 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3893, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3894, allocations: 5.375 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3894, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3895, allocations: 36.53 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.39, allocations: 296.2 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3901, allocations: 48.44 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.3902, allocations: 23.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3902, allocations: 0 / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.3903, allocations: 35.88 kB / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3903, allocations: 0 / 0.5352 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008611/0.3912, allocations: 220.5 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3913, allocations: 78.58 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3915, allocations: 150.8 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3915, allocations: 30.73 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3916, allocations: 99.5 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3916, allocations: 35.52 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.3916, allocations: 18.97 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3918, allocations: 321 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.392, allocations: 34.75 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3921, allocations: 51.53 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.3923, allocations: 71.66 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3923, allocations: 1.156 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002907/0.3926, allocations: 113.9 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3927, allocations: 8.062 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3927, allocations: 0 / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3927, allocations: 5.219 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3929, allocations: 22.72 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3929, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.393, allocations: 14.75 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.393, allocations: 6.422 kB / 0.5365 GB, free: 8.461 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 9.432e-05/0.3931, allocations: 114.2 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3931, allocations: 8.203 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.3935, allocations: 132.4 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3935, allocations: 5.188 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3935, allocations: 0 / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3935, allocations: 3.938 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.3941, allocations: 397 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3941, allocations: 5.375 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.3942, allocations: 22.98 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3942, allocations: 0 / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3942, allocations: 5.188 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3942, allocations: 0 / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3942, allocations: 1.25 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3946, allocations: 213.7 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.3946, allocations: 87.56 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3947, allocations: 5.281 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.3948, allocations: 10.8 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3948, allocations: 10.61 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3948, allocations: 1.125 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3949, allocations: 121.3 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.395, allocations: 3.938 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3953, allocations: 46.42 kB / 0.5376 GB, free: 7.434 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.00221/0.3975, allocations: 1.126 MB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3978, allocations: 83.44 kB / 0.5388 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3978, allocations: 0 / 0.5388 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3979, allocations: 45.41 kB / 0.5388 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3983, allocations: 25.81 kB / 0.5389 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4005, allocations: 1.585 MB / 0.5404 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4009, allocations: 0.6926 MB / 0.5411 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.395e-05/0.4009, allocations: 25.64 kB / 0.5411 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.401, allocations: 31.23 kB / 0.5411 GB, free: 4.359 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.401, allocations: 0 / 0.5411 GB, free: 4.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.4291, allocations: 3.525 MB / 0.5446 GB, free: 2.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.613, allocations: 4.125 kB / 0.5446 GB, free: 2.371 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1)