Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 107 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2272/0.2272, allocations: 43.52 MB / 314.1 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 72.39 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1076, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003337/0.1109, allocations: 2.024 MB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1125, allocations: 0.9794 MB / 0.4904 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.1126, allocations: 4 kB / 0.4904 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1128, allocations: 47.58 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1131, allocations: 159.3 kB / 0.4906 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.114, allocations: 395.2 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1143, allocations: 279.1 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1145, allocations: 64.56 kB / 0.4913 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1147, allocations: 131.4 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1149, allocations: 187.3 kB / 0.4916 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.115, allocations: 16 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1151, allocations: 47.98 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1153, allocations: 135.6 kB / 0.4918 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1154, allocations: 166.6 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.1158, allocations: 401.9 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1159, allocations: 0 / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1159, allocations: 4 kB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001053/0.1169, allocations: 0.8045 MB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.117, allocations: 11.89 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.117, allocations: 42.75 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.1171, allocations: 56.56 kB / 0.4932 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.1177, allocations: 464.3 kB / 0.4936 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1177, allocations: 8.375 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.1178, allocations: 19.92 kB / 0.4937 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.1181, allocations: 139.3 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1181, allocations: 4 kB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1181, allocations: 4 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1181, allocations: 3.938 kB / 0.4938 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1184, allocations: 103.8 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.1194, allocations: 0.6879 MB / 0.4946 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1197, allocations: 117.2 kB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1199, allocations: 65.75 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.1199, allocations: 11.97 kB / 0.4948 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.12, allocations: 38.5 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.12, allocations: 0 / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002005/0.122, allocations: 0.6871 MB / 0.4955 GB, free: 3.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.122, allocations: 81.11 kB / 0.4955 GB, free: 3.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1231, allocations: 0.8663 MB / 0.4964 GB, free: 2.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1231, allocations: 29.7 kB / 0.4964 GB, free: 2.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.1233, allocations: 264.3 kB / 0.4967 GB, free: 2.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.1234, allocations: 67.42 kB / 0.4967 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.1235, allocations: 45.69 kB / 0.4968 GB, free: 2.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1237, allocations: 366.7 kB / 0.4971 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.1239, allocations: 103.9 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.1242, allocations: 105.1 kB / 0.4973 GB, free: 1.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.1248, allocations: 213.7 kB / 0.4975 GB, free: 1.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1248, allocations: 0 / 0.4975 GB, free: 1.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007072/0.1255, allocations: 305.3 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1255, allocations: 4 kB / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1256, allocations: 3.938 kB / 0.4978 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1256, allocations: 4 kB / 0.4978 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.1259, allocations: 51.94 kB / 0.4979 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1259, allocations: 4 kB / 0.4979 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1261, allocations: 19.98 kB / 0.4979 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1261, allocations: 11.98 kB / 0.4979 GB, free: 1.242 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002275/0.1264, allocations: 225.5 kB / 0.4981 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1265, allocations: 55.62 kB / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.1273, allocations: 346 kB / 0.4985 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1274, allocations: 4 kB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1274, allocations: 3.984 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1274, allocations: 0 / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1288, allocations: 0.8843 MB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1288, allocations: 4.359 kB / 0.4994 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.1291, allocations: 51.89 kB / 0.4994 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1291, allocations: 4 kB / 0.4994 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1291, allocations: 12 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1291, allocations: 3.938 kB / 0.4995 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1291, allocations: 0 / 0.4995 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.1299, allocations: 474.3 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1301, allocations: 160.7 kB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.1302, allocations: 4 kB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.1304, allocations: 27.92 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.1305, allocations: 23.91 kB / 0.5001 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1305, allocations: 7.984 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007718/0.1313, allocations: 0.6315 MB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1313, allocations: 4 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.1317, allocations: 63.92 kB / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00249/0.1342, allocations: 1.312 MB / 0.5021 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007011/0.1349, allocations: 227.7 kB / 0.5023 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1349, allocations: 0 / 0.5023 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.1352, allocations: 123.8 kB / 0.5024 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.1359, allocations: 82.69 kB / 0.5025 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.1431, allocations: 5.173 MB / 0.5076 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.1437, allocations: 0.8616 MB / 0.5084 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1439, allocations: 79.22 kB / 0.5085 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.1442, allocations: 175.4 kB / 0.5086 GB, free: 6.051 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1442, allocations: 0 / 0.5086 GB, free: 6.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.1828, allocations: 10.03 MB / 0.5184 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.652, allocations: 7.984 kB / 0.5184 GB, free: 11.96 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches