Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",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.001427/0.001427, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001249/0.001249, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2347/0.2347, allocations: 43.54 MB / 314.1 MB, free: 444 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.002065/0.002065, allocations: 69.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002996/0.1133, allocations: 1.612 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.1139, allocations: 315.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.114, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1143, allocations: 51.81 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1145, allocations: 43.77 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1148, allocations: 115.7 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.115, allocations: 67.83 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1151, allocations: 20.16 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1151, allocations: 23.92 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.1152, allocations: 39.83 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1153, allocations: 8 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.1154, allocations: 35.92 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.1154, allocations: 19.92 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1155, allocations: 27.81 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1157, allocations: 87.58 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1157, allocations: 4 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1157, allocations: 0 / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1157, allocations: 4 kB / 0.4898 GB, free: 9.789 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.0005314/0.1162, allocations: 398.9 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1163, allocations: 15.89 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.1163, allocations: 34.75 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.1164, allocations: 12.83 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1166, allocations: 196.8 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1166, allocations: 7.875 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1166, allocations: 4 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1168, allocations: 61.64 kB / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1168, allocations: 4 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1168, allocations: 0 / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1168, allocations: 0 / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.117, allocations: 39.97 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1173, allocations: 288.8 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1175, allocations: 50.53 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.1176, allocations: 20.94 kB / 0.4909 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1176, allocations: 4 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1176, allocations: 34.56 kB / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1176, allocations: 0 / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007933/0.1184, allocations: 213.2 kB / 0.4911 GB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1185, allocations: 55.41 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1187, allocations: 170.4 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1187, allocations: 29.7 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.1188, allocations: 104.1 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1188, allocations: 23.86 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1189, allocations: 25.7 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.119, allocations: 318.8 kB / 0.4918 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1192, allocations: 35.97 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1193, allocations: 31.97 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1195, allocations: 68.81 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1195, allocations: 4 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002743/0.1198, allocations: 113.6 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1198, allocations: 7.938 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1198, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1198, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.12, allocations: 27.91 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.12, allocations: 4 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.12, allocations: 8 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.12, allocations: 4 kB / 0.4921 GB, free: 7.184 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.151e-05/0.1201, allocations: 125.8 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1202, allocations: 15.84 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.1205, allocations: 130.3 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1205, allocations: 3.938 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1205, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1206, allocations: 4 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1211, allocations: 390.8 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1211, allocations: 0 / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1212, allocations: 19.98 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1212, allocations: 4 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1212, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1212, allocations: 7.938 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1212, allocations: 0 / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.1216, allocations: 215.4 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.1216, allocations: 85.05 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1217, allocations: 4 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.1218, allocations: 15.98 kB / 0.4931 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1218, allocations: 4 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1218, allocations: 0 / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1219, allocations: 143.9 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 0 / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1222, allocations: 19.89 kB / 0.4933 GB, free: 5.91 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.002042/0.1242, allocations: 1.057 MB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1245, allocations: 71.94 kB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1245, allocations: 0 / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1247, allocations: 51.91 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1251, allocations: 15.92 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1272, allocations: 1.615 MB / 0.496 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1275, allocations: 0.7001 MB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.1276, allocations: 12.97 kB / 0.4967 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.1277, allocations: 27.42 kB / 0.4967 GB, free: 2.277 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1277, allocations: 0 / 0.4967 GB, free: 2.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1527, allocations: 2.853 MB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.147, allocations: 11.95 kB / 0.4995 GB, free: 15.4 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_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_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches