Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, 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.001325/0.001326, 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.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.2234/0.2234, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002303/0.002303, allocations: 75.81 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3848, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00325/0.3881, allocations: 1.693 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3893, allocations: 0.5851 MB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.3894, allocations: 1.375 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.3901, allocations: 458.1 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.3907, allocations: 283.4 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.3912, allocations: 185.6 kB / 0.5337 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.3915, allocations: 185.7 kB / 0.5339 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3916, allocations: 19.23 kB / 0.5339 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3917, allocations: 120.2 kB / 0.5341 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.392, allocations: 213.3 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.392, allocations: 4.125 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3921, allocations: 55.78 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3922, allocations: 83.64 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3924, allocations: 116.4 kB / 0.5345 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.3927, allocations: 294.2 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3928, allocations: 0 / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3928, allocations: 1.156 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3928, allocations: 0 / 0.5348 GB, free: 10.55 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.0008465/0.3936, allocations: 0.6729 MB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3937, allocations: 13.59 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.3937, allocations: 35.84 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.3938, allocations: 44 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.3941, allocations: 313.1 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3941, allocations: 2.656 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3942, allocations: 11.58 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3944, allocations: 68.02 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3944, allocations: 5.172 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3944, allocations: 0 / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3944, allocations: 2.094 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3946, allocations: 40.72 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.3952, allocations: 426.1 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3954, allocations: 57.42 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.3955, allocations: 25.69 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3955, allocations: 5.844 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3956, allocations: 42.59 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3956, allocations: 0 / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.3972, allocations: 0.5021 MB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3973, allocations: 56.53 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.3982, allocations: 0.8728 MB / 0.5379 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3982, allocations: 25.7 kB / 0.5379 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3984, allocations: 224.7 kB / 0.5381 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3985, allocations: 39.94 kB / 0.5382 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3985, allocations: 25.72 kB / 0.5382 GB, free: 7.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3987, allocations: 361.1 kB / 0.5385 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.3989, allocations: 61.27 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.399, allocations: 52.3 kB / 0.5386 GB, free: 7.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.3994, allocations: 124.1 kB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3994, allocations: 3.984 kB / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004227/0.3998, allocations: 204 kB / 0.539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3998, allocations: 4.5 kB / 0.539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3998, allocations: 0 / 0.539 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3999, allocations: 5.562 kB / 0.539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4, allocations: 28.72 kB / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4, allocations: 0 / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.382e-05/0.4001, allocations: 10.14 kB / 0.539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4001, allocations: 2.281 kB / 0.539 GB, free: 7.332 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.0002542/0.4004, allocations: 228.4 kB / 0.5392 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.4004, allocations: 48.05 kB / 0.5393 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.401, allocations: 223 kB / 0.5395 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.401, allocations: 5.188 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.401, allocations: 0 / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.401, allocations: 4.844 kB / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.402, allocations: 0.6074 MB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.402, allocations: 1.062 kB / 0.5401 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4021, allocations: 32.16 kB / 0.5401 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.4021, allocations: 6.125 kB / 0.5401 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4021, allocations: 1.094 kB / 0.5401 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4021, allocations: 6.312 kB / 0.5401 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4021, allocations: 3.984 kB / 0.5401 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.4026, allocations: 303.7 kB / 0.5404 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4027, allocations: 119.2 kB / 0.5405 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4028, allocations: 10.09 kB / 0.5405 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4029, allocations: 10.67 kB / 0.5406 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.403, allocations: 15.92 kB / 0.5406 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.403, allocations: 4.562 kB / 0.5406 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007362/0.4037, allocations: 0.6613 MB / 0.5412 GB, free: 5.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4037, allocations: 1.062 kB / 0.5412 GB, free: 5.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.404, allocations: 34.25 kB / 0.5413 GB, free: 5.766 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.002408/0.4065, allocations: 1.186 MB / 0.5424 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.4069, allocations: 133.4 kB / 0.5425 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4069, allocations: 4 kB / 0.5425 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.407, allocations: 66.77 kB / 0.5426 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.4075, allocations: 37.2 kB / 0.5426 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.4124, allocations: 3.56 MB / 0.5461 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.413, allocations: 0.8377 MB / 0.5469 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.4131, allocations: 32.53 kB / 0.547 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.4133, allocations: 127.4 kB / 0.5471 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4133, allocations: 0 / 0.5471 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.4436, allocations: 6.688 MB / 0.5536 GB, free: 9.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.136, allocations: 4.781 kB / 0.5536 GB, free: 9.891 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1)