Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000971/0.000971, allocations: 96.03 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001265, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002313, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1055, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002235/0.1078, allocations: 1.337 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1088, allocations: 0.5145 MB / 485 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.1089, allocations: 4 kB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.1095, allocations: 443.2 kB / 485.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1099, allocations: 283.4 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1103, allocations: 111.3 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1106, allocations: 155.8 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.1107, allocations: 12.17 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1108, allocations: 107.7 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1111, allocations: 199.6 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1111, allocations: 0 / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.1112, allocations: 27.94 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1113, allocations: 75.69 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.1114, allocations: 132.7 kB / 486.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1117, allocations: 235 kB / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1117, allocations: 0 / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1117, allocations: 0 / 486.8 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1117, allocations: 0 / 486.8 MB, free: 472 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000707/0.1124, allocations: 0.5913 MB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1125, allocations: 12.88 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1125, allocations: 38.69 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.1126, allocations: 36.47 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1129, allocations: 304.1 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1129, allocations: 4.375 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1129, allocations: 4.125 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1131, allocations: 45.69 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1131, allocations: 0 / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1131, allocations: 4 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1131, allocations: 4 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.1132, allocations: 23.98 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.1137, allocations: 384.7 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.1138, allocations: 30.56 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.1138, allocations: 16.92 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1138, allocations: 3.938 kB / 488.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1139, allocations: 42.56 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1139, allocations: 0 / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002881/0.1142, allocations: 109.1 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1142, allocations: 51.41 kB / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.115, allocations: 0.8699 MB / 489.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.115, allocations: 29.7 kB / 489.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1152, allocations: 232 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1152, allocations: 3.906 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1153, allocations: 9.719 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1154, allocations: 366.7 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1155, allocations: 12.03 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.1155, allocations: 11.98 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.1156, allocations: 32.78 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1156, allocations: 0 / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001552/0.1158, allocations: 93.28 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1158, allocations: 4 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1158, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1158, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.1159, allocations: 8 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1159, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.116, allocations: 7.984 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.116, allocations: 3.938 kB / 490.1 MB, free: 12.88 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001878/0.1162, allocations: 213.8 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1162, allocations: 39.44 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1165, allocations: 112.7 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1165, allocations: 0 / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1165, allocations: 3.938 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1165, allocations: 0 / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.1168, allocations: 297.5 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1168, allocations: 8.016 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.1168, allocations: 4 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1168, allocations: 0 / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1168, allocations: 7.984 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1168, allocations: 0 / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1169, allocations: 0 / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.117, allocations: 198.8 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.1171, allocations: 120.5 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1172, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1172, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.1173, allocations: 4 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1173, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005853/0.1179, allocations: 0.6628 MB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1179, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1181, allocations: 24 kB / 491.8 MB, free: 11.1 MB / 366.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 (2): * Single equations (assignments): 2 * 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.001137/0.1193, allocations: 0.9624 MB / 492.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.1194, allocations: 27.92 kB / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1194, allocations: 0 / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.1195, allocations: 16 kB / 492.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1198, allocations: 30.23 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.1232, allocations: 3.251 MB / 496.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1236, allocations: 0.8145 MB / 496.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.848e-05/0.1237, allocations: 7.984 kB / 496.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1238, allocations: 111.4 kB / 497 MB, free: 5.848 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1238, allocations: 3.938 kB / 497 MB, free: 5.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1398, allocations: 5.202 MB / 0.4905 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.1401, allocations: 228.3 kB / 0.4907 GB, free: 500 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/1.983, allocations: 3.875 kB / 0.4907 GB, free: 500 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches