Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001807, allocations: 210.5 kB / 18.58 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 76.92 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003266/0.1067, allocations: 2.046 MB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1084, allocations: 1.021 MB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1085, allocations: 4 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.1089, allocations: 251.2 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.1094, allocations: 259.1 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1105, allocations: 492.5 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.1109, allocations: 319.2 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.111, allocations: 76.95 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1112, allocations: 139.4 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1115, allocations: 207.2 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1115, allocations: 12 kB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1117, allocations: 71.97 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1118, allocations: 87.62 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1119, allocations: 138.9 kB / 485.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1124, allocations: 330.8 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1124, allocations: 0 / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1124, allocations: 0 / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1124, allocations: 0 / 485.5 MB, free: 15.77 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.0008674/0.1133, allocations: 0.6728 MB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1133, allocations: 12.03 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.1134, allocations: 42.75 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.1135, allocations: 40.38 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.1139, allocations: 342 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1139, allocations: 4.375 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1139, allocations: 16.36 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1142, allocations: 103.6 kB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1142, allocations: 7.922 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1142, allocations: 8 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1142, allocations: 4 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1144, allocations: 75.83 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.1151, allocations: 0.4964 MB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.1153, allocations: 98.48 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.1154, allocations: 32.84 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1155, allocations: 4 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1155, allocations: 42.44 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.1155, allocations: 0 / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000955/0.1165, allocations: 403.8 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1165, allocations: 51.41 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.1171, allocations: 0.5878 MB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1171, allocations: 25.7 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1173, allocations: 212.3 kB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.1174, allocations: 55.11 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.1174, allocations: 37.7 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1176, allocations: 362.8 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1177, allocations: 43.98 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1178, allocations: 47.97 kB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1181, allocations: 126.6 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1181, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000368/0.1185, allocations: 206.8 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1185, allocations: 8 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1185, allocations: 0 / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1185, allocations: 3.984 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1187, allocations: 31.98 kB / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1187, allocations: 0 / 489.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.1188, allocations: 12 kB / 489.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1188, allocations: 7.984 kB / 489.7 MB, free: 11.36 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.0001698/0.119, allocations: 177.7 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.1191, allocations: 47.44 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.1195, allocations: 237.7 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1195, allocations: 4 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1196, allocations: 0 / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1196, allocations: 0 / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.1203, allocations: 0.6492 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1203, allocations: 0 / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1205, allocations: 35.92 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1205, allocations: 4 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1205, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1205, allocations: 7.922 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1205, allocations: 4 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.1209, allocations: 298.8 kB / 491.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.121, allocations: 120.6 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1211, allocations: 4 kB / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1212, allocations: 11.92 kB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1212, allocations: 15.92 kB / 491.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1212, allocations: 8 kB / 491.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005107/0.1218, allocations: 447.1 kB / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1218, allocations: 0 / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1221, allocations: 48 kB / 491.8 MB, free: 9.16 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.002309/0.1244, allocations: 1.419 MB / 493.2 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1248, allocations: 139.8 kB / 493.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1248, allocations: 0 / 493.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1249, allocations: 79.89 kB / 493.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.1255, allocations: 83.59 kB / 493.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.1294, allocations: 3.197 MB / 496.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.1299, allocations: 0.8143 MB / 497.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.13, allocations: 50.23 kB / 497.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.1302, allocations: 135.4 kB / 497.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1302, allocations: 0 / 497.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1541, allocations: 7.492 MB / 0.4933 GB, free: 11.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.097/9.251, allocations: 5.016 kB / 0.4934 GB, free: 11.98 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_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_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches