Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.00176/0.00176, allocations: 101.8 kB / 16.4 MB, free: 6.496 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.002379/0.002379, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.424/1.424, 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.2006/0.2006, allocations: 43.52 MB / 314.1 MB, free: 472 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.001719/0.001719, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002941/0.1145, allocations: 1.622 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.1155, allocations: 0.6919 MB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1156, allocations: 0 / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1158, allocations: 39.83 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.116, allocations: 31.91 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/0.116, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1162, allocations: 35.83 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.1162, allocations: 4 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.1162, allocations: 7.938 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.1163, allocations: 23.91 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1163, allocations: 0 / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.1164, allocations: 8 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.1164, allocations: 15.92 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.1165, allocations: 23.81 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1166, allocations: 71.67 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1166, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1166, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1167, allocations: 0 / 0.4899 GB, free: 9.723 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003592/0.117, allocations: 358.8 kB / 0.4902 GB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1171, allocations: 15.89 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.1171, allocations: 42.73 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1171, allocations: 8.844 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1173, allocations: 176.2 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1173, allocations: 4.375 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1173, allocations: 4.312 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1175, allocations: 123.3 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1175, allocations: 7.875 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1175, allocations: 7.984 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.1176, allocations: 27.97 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.1176, allocations: 35.92 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.1182, allocations: 0.8945 MB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.1183, allocations: 169.1 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.1184, allocations: 84.08 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1184, allocations: 83.31 kB / 0.4919 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.1184, allocations: 105.8 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1184, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.48e-05/0.1185, allocations: 41.59 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1186, allocations: 126.7 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1187, allocations: 186.1 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1188, allocations: 25.7 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.1189, allocations: 155.1 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.1189, allocations: 7.984 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.1189, allocations: 37.62 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.1191, allocations: 322.8 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.1191, allocations: 35.97 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1192, allocations: 157.1 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1194, allocations: 204.9 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1194, allocations: 4 kB / 0.4932 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002915/0.1197, allocations: 197.3 kB / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1197, allocations: 8 kB / 0.4934 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1198, allocations: 4 kB / 0.4934 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1198, allocations: 8 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1199, allocations: 35.92 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1199, allocations: 15.92 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.12, allocations: 19.84 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.12, allocations: 8.344 kB / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001192/0.1202, allocations: 228.9 kB / 0.4937 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.1202, allocations: 112.8 kB / 0.4938 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.1203, allocations: 108.9 kB / 0.4939 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.742e-05/0.1203, allocations: 180.2 kB / 0.4941 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-05/0.1204, allocations: 184.2 kB / 0.4943 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/0.1205, allocations: 192.2 kB / 0.4945 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.1207, allocations: 425.1 kB / 0.4949 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.1207, allocations: 101 kB / 0.495 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1208, allocations: 104.9 kB / 0.4951 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.698e-05/0.1208, allocations: 180.2 kB / 0.4952 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.1209, allocations: 184.2 kB / 0.4954 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.257e-05/0.121, allocations: 180.3 kB / 0.4956 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.778e-05/0.121, allocations: 184.2 kB / 0.4958 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.1212, allocations: 315.6 kB / 0.4961 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.1212, allocations: 185.9 kB / 0.4962 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.1213, allocations: 192.2 kB / 0.4964 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.1214, allocations: 101 kB / 0.4965 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.1215, allocations: 180.2 kB / 0.4967 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.1215, allocations: 101 kB / 0.4968 GB, free: 2.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1216, allocations: 132.1 kB / 0.4969 GB, free: 1.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1216, allocations: 3.938 kB / 0.4969 GB, free: 1.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1219, allocations: 16 kB / 0.4969 GB, free: 1.891 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 (0): * Single equations (assignments): 0 * 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.0007108/0.1226, allocations: 0.9093 MB / 0.4978 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1228, allocations: 76.59 kB / 0.4979 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1228, allocations: 4 kB / 0.4979 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1228, allocations: 0 / 0.4979 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1232, allocations: 459.6 kB / 0.4983 GB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1247, allocations: 1.876 MB / 0.5002 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.125, allocations: 0.7045 MB / 0.5009 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1252, allocations: 49.02 kB / 0.5009 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.1253, allocations: 27.44 kB / 0.5009 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1253, allocations: 0 / 0.5009 GB, free: 13.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1555, allocations: 2.112 MB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.066, allocations: 3.984 kB / 0.503 GB, free: 11.44 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches