Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 122.2 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.001902/0.001902, allocations: 201.2 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.456/1.456, allocations: 227.4 MB / 247 MB, free: 10.45 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.2307/0.2307, allocations: 46.12 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.002507/0.002507, allocations: 83.8 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3844, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003161/0.3876, allocations: 1.618 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.3886, allocations: 0.5339 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3887, allocations: 1.625 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.389, allocations: 109.4 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3893, allocations: 115.6 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3896, allocations: 98.28 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3898, allocations: 89.16 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.39, allocations: 19.98 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.39, allocations: 34.09 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3902, allocations: 77.23 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3902, allocations: 2.75 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3903, allocations: 46.22 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.3904, allocations: 29.48 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3904, allocations: 33.25 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3907, allocations: 120.3 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3907, allocations: 1.375 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3907, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3907, allocations: 0 / 0.5335 GB, free: 11.24 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.0006196/0.3913, allocations: 435.5 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3914, allocations: 9.625 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.3914, allocations: 34.75 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.3915, allocations: 11.77 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3918, allocations: 210.1 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3918, allocations: 5.75 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3918, allocations: 3.125 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.392, allocations: 61.92 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.392, allocations: 5.328 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.392, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3921, allocations: 1.375 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3922, allocations: 27.09 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3926, allocations: 301.7 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3927, allocations: 43 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3928, allocations: 19.81 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3928, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3929, allocations: 30.56 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3929, allocations: 1.375 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009331/0.3938, allocations: 231.4 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3939, allocations: 52.78 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.3942, allocations: 262.3 kB / 0.5352 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3942, allocations: 25.7 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.3943, allocations: 116 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.3944, allocations: 26.12 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3944, allocations: 27.7 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3946, allocations: 323 kB / 0.5356 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.3947, allocations: 26.3 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.3948, allocations: 25.86 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.395, allocations: 68.2 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.395, allocations: 3.938 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002376/0.3952, allocations: 105.8 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3952, allocations: 7.219 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3953, allocations: 96 / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3953, allocations: 8.953 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3954, allocations: 26.08 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3954, allocations: 5.094 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.3955, allocations: 6.188 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3955, allocations: 2.312 kB / 0.5359 GB, free: 9 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 (8): * Single equations (assignments): 8 * 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.0001305/0.3956, allocations: 131.4 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3957, allocations: 14.69 kB / 0.5361 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.396, allocations: 117.5 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.396, allocations: 1.125 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.396, allocations: 7.875 kB / 0.5362 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.396, allocations: 5.188 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3967, allocations: 413.8 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3967, allocations: 0 / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.3968, allocations: 21.98 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3968, allocations: 1.219 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3968, allocations: 5.188 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3968, allocations: 1.375 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3968, allocations: 4.031 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3971, allocations: 213.8 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.3972, allocations: 88.94 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.3972, allocations: 1.438 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3973, allocations: 10.7 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.3973, allocations: 7.438 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3974, allocations: 2.406 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3976, allocations: 188.4 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3976, allocations: 0 / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3978, allocations: 22.95 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002224/0.4001, allocations: 1.087 MB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.4003, allocations: 67.25 kB / 0.5382 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4003, allocations: 0 / 0.5382 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.4005, allocations: 41.56 kB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4009, allocations: 22.94 kB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4033, allocations: 1.755 MB / 0.54 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4037, allocations: 0.7106 MB / 0.5407 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4038, allocations: 16.59 kB / 0.5407 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.4039, allocations: 37.8 kB / 0.5408 GB, free: 4.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4039, allocations: 7.938 kB / 0.5408 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.4301, allocations: 3.276 MB / 0.544 GB, free: 3.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.464, allocations: 13.34 kB / 0.544 GB, free: 3.012 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1)