Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",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.00125/0.00125, allocations: 113.4 kB / 16.41 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.001189/0.001189, 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2288/0.2288, allocations: 43.53 MB / 314.1 MB, free: 476 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.002073/0.002073, allocations: 75.89 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1186, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002982/0.1216, allocations: 1.608 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.1226, allocations: 347.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.1227, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.123, allocations: 59.8 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.1233, allocations: 55.75 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1239, allocations: 155.7 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1241, allocations: 75.75 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1242, allocations: 27.97 kB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1243, allocations: 27.92 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1245, allocations: 47.81 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1245, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.1246, allocations: 28 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.1247, allocations: 23.92 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.1247, allocations: 39.72 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1249, allocations: 91.53 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1249, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1249, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.125, allocations: 4 kB / 0.4899 GB, free: 9.719 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.0005666/0.1255, allocations: 410.8 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1256, allocations: 11.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1256, allocations: 42.73 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1257, allocations: 8.891 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1259, allocations: 208.1 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1259, allocations: 384 / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.126, allocations: 8.375 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1261, allocations: 73.53 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1262, allocations: 0 / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1262, allocations: 7.984 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1262, allocations: 0 / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1263, allocations: 35.97 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.1268, allocations: 312.8 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1269, allocations: 50.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.127, allocations: 24.94 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.127, allocations: 4 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1271, allocations: 34.55 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1271, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007921/0.1279, allocations: 237.3 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1279, allocations: 55.39 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1281, allocations: 182.2 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1282, allocations: 29.7 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.1282, allocations: 108.1 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.1283, allocations: 27.78 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.1283, allocations: 17.72 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1285, allocations: 322.8 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1286, allocations: 35.97 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1288, allocations: 35.97 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.129, allocations: 92.73 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.129, allocations: 4 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002871/0.1293, allocations: 125.5 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1293, allocations: 8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1293, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1294, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1295, allocations: 23.98 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1295, allocations: 0 / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.1296, allocations: 15.92 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1296, allocations: 4 kB / 0.4924 GB, free: 6.98 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 0.000112/0.1297, allocations: 129.7 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1297, allocations: 11.89 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.1301, allocations: 142.3 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1301, allocations: 0 / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1301, allocations: 0 / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1301, allocations: 3.938 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.1307, allocations: 422.8 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1307, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1308, allocations: 19.98 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1308, allocations: 0 / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1308, allocations: 7.938 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1309, allocations: 0 / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1309, allocations: 4 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.1312, allocations: 227.4 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.1313, allocations: 85.06 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1313, allocations: 7.938 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.1314, allocations: 11.98 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1314, allocations: 3.984 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1315, allocations: 4 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1316, allocations: 144.1 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1316, allocations: 0 / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1318, allocations: 16 kB / 0.4936 GB, free: 5.656 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.002015/0.1339, allocations: 1.069 MB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.1342, allocations: 91.88 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1342, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1343, allocations: 47.95 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1347, allocations: 27.06 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.1368, allocations: 1.7 MB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1372, allocations: 0.708 MB / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.1373, allocations: 28.95 kB / 0.4971 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.1374, allocations: 35.42 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1374, allocations: 3.938 kB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1617, allocations: 3.002 MB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/7.98, allocations: 0 / 0.5001 GB, free: 14.84 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_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_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches