Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001067/0.001067, allocations: 108.3 kB / 16.41 MB, free: 6.5 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.001103/0.001103, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2143/0.2143, allocations: 43.52 MB / 314.1 MB, free: 468 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.001372/0.001372, allocations: 68.42 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1059, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003079/0.109, allocations: 1.615 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.1097, allocations: 347.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.1098, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1101, allocations: 71.77 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1103, allocations: 63.73 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1107, allocations: 151.7 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1109, allocations: 75.75 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.111, allocations: 31.97 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.1111, allocations: 31.91 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1112, allocations: 43.83 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1112, allocations: 4 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.1113, allocations: 31.98 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.1114, allocations: 27.92 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.1115, allocations: 35.72 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1117, allocations: 107.5 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1117, allocations: 0 / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1117, allocations: 4 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1117, allocations: 0 / 0.49 GB, free: 9.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005459/0.1122, allocations: 422.7 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1123, allocations: 11.89 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.1123, allocations: 30.75 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1124, allocations: 12.89 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1126, allocations: 212.8 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1126, allocations: 4.312 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1126, allocations: 4.375 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1128, allocations: 65.61 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1128, allocations: 0 / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1129, allocations: 0 / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1129, allocations: 0 / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.113, allocations: 47.89 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1136, allocations: 308.8 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1137, allocations: 62.48 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.1138, allocations: 24.94 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1138, allocations: 0 / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1139, allocations: 30.56 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1139, allocations: 0 / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008333/0.1147, allocations: 237.5 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1148, allocations: 51.41 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.115, allocations: 220.2 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.115, allocations: 25.7 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.1151, allocations: 116.1 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1151, allocations: 19.8 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1152, allocations: 17.72 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1153, allocations: 326.8 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1154, allocations: 35.95 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1155, allocations: 39.97 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1158, allocations: 101 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1158, allocations: 0 / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002965/0.1161, allocations: 121.5 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1161, allocations: 7.984 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1161, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1162, allocations: 11.98 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1163, allocations: 15.98 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1163, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.1164, allocations: 15.92 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.1164, allocations: 4 kB / 0.4925 GB, free: 6.875 MB / 382.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 (7): * Single equations (assignments): 7 * 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 9.79e-05/0.1165, allocations: 133.7 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1165, allocations: 11.95 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.1169, allocations: 139 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1169, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1169, allocations: 4 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1169, allocations: 7.938 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.1175, allocations: 418.4 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1175, allocations: 7.938 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.1176, allocations: 19.97 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1176, allocations: 4 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1176, allocations: 3.938 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1176, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1176, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.118, allocations: 227.4 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.118, allocations: 93.02 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1181, allocations: 3.938 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.1181, allocations: 11.98 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1182, allocations: 11.98 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1182, allocations: 0 / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1184, allocations: 163.5 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1184, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1186, allocations: 20 kB / 0.4937 GB, free: 5.508 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001465/0.1201, allocations: 1.056 MB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1204, allocations: 103.8 kB / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1204, allocations: 0 / 0.4948 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1205, allocations: 47.91 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1209, allocations: 27.83 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.123, allocations: 1.757 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1232, allocations: 0.7119 MB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.1233, allocations: 20.66 kB / 0.4973 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1234, allocations: 35.45 kB / 0.4973 GB, free: 1.664 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1234, allocations: 3.938 kB / 0.4974 GB, free: 1.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1435, allocations: 3.107 MB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.794, allocations: 4 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches