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.001311/0.001311, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 79.02 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004446/0.1138, allocations: 2.046 MB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1159, allocations: 1.021 MB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.1161, allocations: 0 / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.1169, allocations: 251.2 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007882/0.1177, allocations: 263 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1189, allocations: 493 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.1193, allocations: 323.1 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1195, allocations: 68.98 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1197, allocations: 135.5 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1199, allocations: 207.2 kB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.12, allocations: 12 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1202, allocations: 99.95 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1203, allocations: 99.55 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1204, allocations: 131 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1209, allocations: 342.8 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1209, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.121, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.121, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.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.0008982/0.1219, allocations: 0.6845 MB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1219, allocations: 8.031 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.122, allocations: 38.75 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.1221, allocations: 44.38 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1224, allocations: 337.9 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1224, allocations: 8.375 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1225, allocations: 16.36 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1227, allocations: 105.6 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1227, allocations: 4 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1228, allocations: 8 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1228, allocations: 4 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1229, allocations: 71.83 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.1236, allocations: 0.5002 MB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1238, allocations: 98.55 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.1239, allocations: 40.72 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1239, allocations: 3.984 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.124, allocations: 38.5 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.124, allocations: 0 / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009872/0.125, allocations: 395.8 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.125, allocations: 55.41 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.1256, allocations: 0.5839 MB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1256, allocations: 33.64 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1258, allocations: 208.3 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1258, allocations: 63.09 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.1259, allocations: 33.7 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.126, allocations: 362.8 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1261, allocations: 47.97 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1263, allocations: 50.33 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1265, allocations: 128.7 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1265, allocations: 4 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003465/0.1269, allocations: 194.9 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1269, allocations: 12 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1269, allocations: 0 / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1269, allocations: 3.984 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1271, allocations: 35.98 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1271, allocations: 3.938 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.1272, allocations: 4 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1272, allocations: 11.98 kB / 489.8 MB, free: 11.29 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 (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.0001552/0.1274, allocations: 173.8 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.1275, allocations: 43.44 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1279, allocations: 245.6 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1279, allocations: 0 / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1279, allocations: 0 / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.128, allocations: 4 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.1287, allocations: 0.6487 MB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1288, allocations: 0 / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1289, allocations: 27.98 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1289, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1289, allocations: 8 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.1289, allocations: 7.922 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1289, allocations: 4 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1293, allocations: 306.8 kB / 491.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.1294, allocations: 116.6 kB / 491.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1294, allocations: 0 / 491.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1295, allocations: 15.92 kB / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1296, allocations: 11.98 kB / 491.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1296, allocations: 8 kB / 491.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004209/0.13, allocations: 443.1 kB / 491.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.13, allocations: 4 kB / 491.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1304, allocations: 48 kB / 491.8 MB, free: 9.09 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 (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.002184/0.1326, allocations: 1.418 MB / 493.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1329, allocations: 150.4 kB / 493.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1329, allocations: 0 / 493.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1331, allocations: 71.91 kB / 493.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.1336, allocations: 86.45 kB / 493.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.1374, allocations: 3.195 MB / 496.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1377, allocations: 0.8143 MB / 497.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1379, allocations: 54.23 kB / 497.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.1381, allocations: 135.4 kB / 497.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1381, allocations: 0 / 497.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.1629, allocations: 7.483 MB / 0.4934 GB, free: 11.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.98, allocations: 5.016 kB / 0.4934 GB, free: 11.91 MB / 382.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv","/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