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.001291/0.001297, allocations: 113.6 kB / 16.41 MB, free: 6.488 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.001173/0.001173, allocations: 188.1 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.515/1.515, 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.2653/0.2653, 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.001973/0.001973, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1275, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.00339/0.1309, allocations: 1.61 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.132, allocations: 0.688 MB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.132, allocations: 0 / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1323, allocations: 23.92 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1325, allocations: 39.83 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.1325, allocations: 0 / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1327, allocations: 39.89 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.1327, allocations: 0 / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.1327, allocations: 15.86 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.1328, allocations: 15.92 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1328, allocations: 4 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.1329, allocations: 8 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1329, allocations: 15.94 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.133, allocations: 27.78 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1331, allocations: 63.69 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1331, allocations: 3.938 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1331, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1332, allocations: 0 / 0.4899 GB, free: 9.727 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.0004438/0.1336, allocations: 367.1 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1337, allocations: 19.89 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.1337, allocations: 42.73 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.1337, allocations: 8.891 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1339, allocations: 176.3 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1339, allocations: 384 / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.134, allocations: 4.375 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1342, allocations: 134.7 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1342, allocations: 3.938 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1342, allocations: 0 / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.1343, allocations: 27.92 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.1344, allocations: 43.91 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.1353, allocations: 0.8984 MB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1355, allocations: 165.1 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.1355, allocations: 84.08 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1356, allocations: 79.28 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/0.1356, allocations: 113.8 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.945e-06/0.1356, allocations: 96 / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.1357, allocations: 41.59 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.1358, allocations: 126.7 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.1361, allocations: 182.1 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1362, allocations: 29.69 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.1364, allocations: 147.6 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-06/0.1364, allocations: 4 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.1365, allocations: 49.59 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1367, allocations: 322.8 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.1368, allocations: 27.98 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.137, allocations: 157 kB / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1373, allocations: 208.9 kB / 0.4932 GB, free: 5.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1373, allocations: 0 / 0.4932 GB, free: 5.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003932/0.1377, allocations: 205.4 kB / 0.4934 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1378, allocations: 8 kB / 0.4934 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1378, allocations: 4 kB / 0.4934 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1378, allocations: 8 kB / 0.4934 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1379, allocations: 35.92 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.138, allocations: 4 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.1381, allocations: 19.89 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1381, allocations: 15.98 kB / 0.4935 GB, free: 5.625 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.0001749/0.1383, allocations: 221.2 kB / 0.4937 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.1384, allocations: 120.8 kB / 0.4938 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1385, allocations: 120.8 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.706e-05/0.1386, allocations: 180.2 kB / 0.4941 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/0.1387, allocations: 176.3 kB / 0.4943 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/0.1388, allocations: 184.2 kB / 0.4945 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1392, allocations: 425.1 kB / 0.4949 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.147e-05/0.1392, allocations: 105 kB / 0.495 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.1393, allocations: 112.9 kB / 0.4951 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.926e-05/0.1394, allocations: 180.3 kB / 0.4953 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.1395, allocations: 180.2 kB / 0.4954 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.1396, allocations: 188.2 kB / 0.4956 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001035/0.1397, allocations: 176.3 kB / 0.4958 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.14, allocations: 319.6 kB / 0.4961 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1401, allocations: 186 kB / 0.4963 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.1403, allocations: 184.2 kB / 0.4964 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1404, allocations: 109 kB / 0.4965 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.1406, allocations: 180.2 kB / 0.4967 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.1407, allocations: 101 kB / 0.4968 GB, free: 2.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1408, allocations: 128.1 kB / 0.4969 GB, free: 1.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1408, allocations: 4 kB / 0.4969 GB, free: 1.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1411, allocations: 15.98 kB / 0.497 GB, free: 1.875 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.001134/0.1423, allocations: 0.9227 MB / 0.4979 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1425, allocations: 76.66 kB / 0.4979 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1425, allocations: 0 / 0.4979 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.1425, allocations: 0 / 0.4979 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.143, allocations: 467.7 kB / 0.4984 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.145, allocations: 1.872 MB / 0.5002 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1454, allocations: 0.7006 MB / 0.5009 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1456, allocations: 49.02 kB / 0.5009 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.1457, allocations: 27.42 kB / 0.501 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1457, allocations: 0 / 0.501 GB, free: 13.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1716, allocations: 2.088 MB / 0.503 GB, free: 11.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/7.897, allocations: 7.266 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_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_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.csv","/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