Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.00156/0.00156, allocations: 109.3 kB / 16.41 MB, free: 5.988 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.001592/0.001592, allocations: 189.5 kB / 17.34 MB, free: 5.602 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.447/1.447, 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.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 464 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.001982/0.001983, allocations: 67.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003354/0.1115, allocations: 1.962 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1132, allocations: 1.054 MB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.1133, allocations: 3.938 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1136, allocations: 51.62 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1139, allocations: 147.3 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1151, allocations: 0.5459 MB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1154, allocations: 275.2 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1156, allocations: 80.55 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1158, allocations: 127.5 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.116, allocations: 175.4 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.1161, allocations: 12 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.1162, allocations: 35.98 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1163, allocations: 147.6 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1165, allocations: 174.6 kB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.1169, allocations: 382 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.117, allocations: 0 / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.941e-06/0.117, allocations: 3.984 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.117, allocations: 3.938 kB / 0.4924 GB, free: 7.125 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.001043/0.118, allocations: 0.7884 MB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1181, allocations: 15.89 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1181, allocations: 38.73 kB / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.1182, allocations: 64.56 kB / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.1188, allocations: 468.3 kB / 0.4938 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1188, allocations: 4.375 kB / 0.4938 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1189, allocations: 15.94 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1192, allocations: 143.3 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1192, allocations: 4 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1192, allocations: 0 / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1192, allocations: 7.938 kB / 0.4939 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.1195, allocations: 99.92 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1205, allocations: 0.6918 MB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1207, allocations: 125.2 kB / 0.4948 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1208, allocations: 45.83 kB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.1209, allocations: 11.92 kB / 0.4949 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1209, allocations: 34.5 kB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1209, allocations: 0 / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001481/0.1224, allocations: 0.5541 MB / 0.4955 GB, free: 3.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1225, allocations: 81.05 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.1235, allocations: 0.8819 MB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1235, allocations: 29.7 kB / 0.4964 GB, free: 2.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1238, allocations: 256.3 kB / 0.4967 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.1238, allocations: 63.48 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.1239, allocations: 29.7 kB / 0.4968 GB, free: 2.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1241, allocations: 370.7 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1243, allocations: 63.95 kB / 0.4972 GB, free: 2.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1245, allocations: 85.66 kB / 0.4972 GB, free: 1.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.1249, allocations: 149.8 kB / 0.4974 GB, free: 1.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1249, allocations: 3.938 kB / 0.4974 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004885/0.1254, allocations: 245.2 kB / 0.4976 GB, free: 1.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1254, allocations: 4 kB / 0.4976 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1254, allocations: 4 kB / 0.4976 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1254, allocations: 4 kB / 0.4976 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1256, allocations: 39.91 kB / 0.4977 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1256, allocations: 0 / 0.4977 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1258, allocations: 23.88 kB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1258, allocations: 4 kB / 0.4977 GB, free: 1.441 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 (16): * Single equations (assignments): 16 * 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.0002161/0.126, allocations: 217.6 kB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1261, allocations: 59.62 kB / 0.498 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/0.1268, allocations: 290.9 kB / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1268, allocations: 0 / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1268, allocations: 0 / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1268, allocations: 7.984 kB / 0.4983 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.128, allocations: 0.814 MB / 0.4991 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.128, allocations: 4 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1281, allocations: 31.97 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1282, allocations: 4 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1282, allocations: 0 / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1282, allocations: 7.938 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1282, allocations: 0 / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.1288, allocations: 426 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1289, allocations: 160.6 kB / 0.4997 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.129, allocations: 4 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1292, allocations: 23.92 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.1293, allocations: 7.984 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1293, allocations: 4 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007233/0.13, allocations: 0.6472 MB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.13, allocations: 0 / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1304, allocations: 52 kB / 0.5004 GB, free: 14.6 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 (16): * Single equations (assignments): 16 * 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.002253/0.1326, allocations: 1.247 MB / 0.5016 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.1331, allocations: 167.8 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1331, allocations: 7.938 kB / 0.5018 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1333, allocations: 91.86 kB / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.134, allocations: 82.17 kB / 0.5019 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.1407, allocations: 5.074 MB / 0.5069 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.1412, allocations: 0.8614 MB / 0.5077 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.1414, allocations: 87.22 kB / 0.5078 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.1417, allocations: 163.4 kB / 0.508 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1417, allocations: 0 / 0.508 GB, free: 6.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.1731, allocations: 9.789 MB / 0.5175 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/8.691, allocations: 8.047 kB / 0.5175 GB, free: 12.89 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_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_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches