Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001656/0.001656, allocations: 122.8 kB / 17.79 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.002544/0.002544, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.387, allocations: 62.45 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004444/0.3915, allocations: 2.042 MB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.394, allocations: 1.022 MB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.3943, allocations: 3.844 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.395, allocations: 255.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.3958, allocations: 260.7 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.397, allocations: 500 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.3977, allocations: 324.4 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.3979, allocations: 66.22 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.3983, allocations: 140.2 kB / 0.535 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.3987, allocations: 209.9 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.3988, allocations: 12.09 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.3991, allocations: 101.2 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3993, allocations: 92.89 kB / 0.5354 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3994, allocations: 128.7 kB / 0.5355 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.4, allocations: 354.9 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4, allocations: 3.984 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4, allocations: 0 / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4001, allocations: 1.938 kB / 0.5359 GB, free: 9.539 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001206/0.4013, allocations: 0.6784 MB / 0.5365 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4013, allocations: 9.188 kB / 0.5365 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.4014, allocations: 46.48 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.4016, allocations: 48.12 kB / 0.5366 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.4021, allocations: 334.5 kB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4021, allocations: 8.531 kB / 0.5369 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.4022, allocations: 12.44 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.4025, allocations: 113.6 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4025, allocations: 5.031 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4025, allocations: 5.219 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4025, allocations: 3.125 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.4027, allocations: 71.14 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.4037, allocations: 0.4983 MB / 0.5376 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.4039, allocations: 87.61 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.404, allocations: 32.91 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.404, allocations: 6.641 kB / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.4041, allocations: 47.69 kB / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.4041, allocations: 0 / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00118/0.4053, allocations: 388 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4053, allocations: 53.44 kB / 0.5382 GB, free: 7.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/0.4061, allocations: 0.5898 MB / 0.5388 GB, free: 7.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.4062, allocations: 29.7 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4064, allocations: 219.5 kB / 0.539 GB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.4064, allocations: 57.86 kB / 0.5391 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.4065, allocations: 34.55 kB / 0.5391 GB, free: 6.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4067, allocations: 354.6 kB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4068, allocations: 46.59 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.4069, allocations: 51.41 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.4072, allocations: 128.8 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4072, allocations: 0 / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003879/0.4076, allocations: 201.4 kB / 0.5399 GB, free: 6.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4076, allocations: 4.656 kB / 0.5399 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4076, allocations: 1.062 kB / 0.5399 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4076, allocations: 0.9375 kB / 0.5399 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.4078, allocations: 35.45 kB / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4078, allocations: 0 / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4079, allocations: 13.8 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.408, allocations: 4.469 kB / 0.5399 GB, free: 6.328 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 (17): * Single equations (assignments): 17 * 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.0002001/0.4082, allocations: 179.8 kB / 0.5401 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.4083, allocations: 41.5 kB / 0.5401 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.4088, allocations: 242 kB / 0.5404 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4088, allocations: 6.359 kB / 0.5404 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4088, allocations: 0 / 0.5404 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4088, allocations: 0 / 0.5404 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.4097, allocations: 0.6421 MB / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4097, allocations: 0 / 0.541 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4099, allocations: 43.12 kB / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4099, allocations: 0 / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4099, allocations: 6.312 kB / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4099, allocations: 5.25 kB / 0.5411 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4099, allocations: 0 / 0.5411 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.4104, allocations: 305.8 kB / 0.5413 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4105, allocations: 122.8 kB / 0.5415 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.4105, allocations: 1.469 kB / 0.5415 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4107, allocations: 12.25 kB / 0.5415 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.4107, allocations: 9.828 kB / 0.5415 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4107, allocations: 5.438 kB / 0.5415 GB, free: 5.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005655/0.4113, allocations: 448.6 kB / 0.5419 GB, free: 4.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4113, allocations: 0 / 0.5419 GB, free: 4.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.4117, allocations: 52.95 kB / 0.542 GB, free: 4.844 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 (17): * Single equations (assignments): 17 * 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.002523/0.4142, allocations: 1.417 MB / 0.5434 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.4146, allocations: 129 kB / 0.5435 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4146, allocations: 1.125 kB / 0.5435 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4148, allocations: 75.09 kB / 0.5436 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.4154, allocations: 85.69 kB / 0.5436 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.42, allocations: 3.168 MB / 0.5467 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4205, allocations: 0.8182 MB / 0.5475 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.4206, allocations: 46.2 kB / 0.5476 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4208, allocations: 135.4 kB / 0.5477 GB, free: 16 kB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4208, allocations: 0 / 0.5477 GB, free: 16 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.4533, allocations: 7.718 MB / 0.5552 GB, free: 8.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.435, allocations: 0 / 0.5552 GB, free: 8.379 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches