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.001442/0.001442, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001442/0.001443, allocations: 189.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.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2247/0.2247, allocations: 43.53 MB / 314.1 MB, free: 460 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.001757/0.001757, allocations: 63.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1131, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003701/0.1169, allocations: 2.02 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1187, allocations: 0.9872 MB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1189, allocations: 4 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1192, allocations: 43.58 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1197, allocations: 167.2 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.1207, allocations: 391.3 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1211, allocations: 279.2 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.1213, allocations: 68.44 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.1216, allocations: 127.5 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1219, allocations: 195.4 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.122, allocations: 12 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1221, allocations: 40 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1223, allocations: 143.5 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1225, allocations: 174.6 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.1229, allocations: 394 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1229, allocations: 0 / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.009e-06/0.123, allocations: 0 / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.123, allocations: 3.938 kB / 0.4923 GB, free: 7.262 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.001169/0.1242, allocations: 0.804 MB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1242, allocations: 15.89 kB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.1243, allocations: 42.73 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1244, allocations: 56.56 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.125, allocations: 468.2 kB / 0.4936 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.125, allocations: 8.375 kB / 0.4936 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.125, allocations: 11.94 kB / 0.4937 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1253, allocations: 151.2 kB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1254, allocations: 0 / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1254, allocations: 7.984 kB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.1254, allocations: 7.938 kB / 0.4938 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.1257, allocations: 95.92 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.1267, allocations: 0.6801 MB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.127, allocations: 121.2 kB / 0.4947 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1271, allocations: 61.81 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1272, allocations: 11.92 kB / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1272, allocations: 38.5 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1272, allocations: 0 / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002082/0.1293, allocations: 0.6835 MB / 0.4955 GB, free: 3.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1294, allocations: 81.11 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.1305, allocations: 0.8741 MB / 0.4964 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1306, allocations: 29.7 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.1308, allocations: 260.3 kB / 0.4967 GB, free: 2.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.1308, allocations: 67.42 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.1309, allocations: 41.69 kB / 0.4968 GB, free: 2.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1311, allocations: 374.7 kB / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1314, allocations: 91.95 kB / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.1316, allocations: 117.6 kB / 0.4973 GB, free: 1.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.1321, allocations: 205.8 kB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1322, allocations: 4.125 kB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006664/0.1328, allocations: 305 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1329, allocations: 8 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1329, allocations: 0 / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1329, allocations: 0 / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.1332, allocations: 59.89 kB / 0.4979 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1332, allocations: 3.984 kB / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1334, allocations: 19.98 kB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1334, allocations: 11.98 kB / 0.4979 GB, free: 1.219 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.0002028/0.1337, allocations: 221.6 kB / 0.4981 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1338, allocations: 55.62 kB / 0.4982 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.1346, allocations: 342 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1346, allocations: 8 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1346, allocations: 0 / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1346, allocations: 0 / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.136, allocations: 0.8843 MB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.136, allocations: 11.94 kB / 0.4994 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1363, allocations: 47.95 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1363, allocations: 0 / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.1363, allocations: 11.98 kB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.1363, allocations: 7.938 kB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1363, allocations: 0 / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.1371, allocations: 482.2 kB / 0.4999 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.1372, allocations: 148.7 kB / 0.5001 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.1373, allocations: 11.98 kB / 0.5001 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.1376, allocations: 27.92 kB / 0.5001 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.1376, allocations: 19.95 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1377, allocations: 8 kB / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006882/0.1384, allocations: 0.6393 MB / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1384, allocations: 0 / 0.5008 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.1388, allocations: 59.94 kB / 0.5008 GB, free: 14.15 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.001868/0.1406, allocations: 1.31 MB / 0.5021 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.1413, allocations: 235.1 kB / 0.5023 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1413, allocations: 0 / 0.5023 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1416, allocations: 123.9 kB / 0.5024 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.1424, allocations: 78.89 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.1494, allocations: 5.173 MB / 0.5076 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.1499, allocations: 0.8616 MB / 0.5084 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.1502, allocations: 75.22 kB / 0.5085 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.1505, allocations: 179.4 kB / 0.5086 GB, free: 6.027 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1505, allocations: 0 / 0.5086 GB, free: 6.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.1806, allocations: 10.03 MB / 0.5184 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.245, allocations: 11.98 kB / 0.5184 GB, free: 11.95 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