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.001244/0.001244, allocations: 112.1 kB / 16.41 MB, free: 6.43 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.001254/0.001254, allocations: 189 kB / 17.34 MB, free: 5.727 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.415/1.415, 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.2194/0.2194, 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.002007/0.002007, allocations: 71.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.121, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003534/0.1246, allocations: 1.62 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007224/0.1253, allocations: 339.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.1254, allocations: 4 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1257, allocations: 55.8 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1259, allocations: 55.75 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1263, allocations: 159.7 kB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1264, allocations: 79.75 kB / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1266, allocations: 27.95 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.1266, allocations: 23.92 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1267, allocations: 51.81 kB / 0.4898 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1267, allocations: 0 / 0.4898 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1268, allocations: 39.94 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1269, allocations: 19.92 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.127, allocations: 35.72 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1272, allocations: 91.59 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1272, allocations: 4 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1272, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1272, allocations: 4 kB / 0.4899 GB, free: 9.711 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.0005479/0.1277, allocations: 402.8 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1278, allocations: 15.89 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.1278, allocations: 38.73 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1279, allocations: 8.891 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1281, allocations: 208.1 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1281, allocations: 384 / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1281, allocations: 12.31 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1283, allocations: 61.61 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1283, allocations: 0 / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1284, allocations: 4 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1284, allocations: 4 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1285, allocations: 31.97 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.129, allocations: 316.7 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1291, allocations: 50.56 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.1292, allocations: 24.94 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1292, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1292, allocations: 34.55 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1293, allocations: 0 / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007934/0.1301, allocations: 237.3 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1301, allocations: 55.39 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1303, allocations: 190.1 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1303, allocations: 25.7 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.1304, allocations: 108.1 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1305, allocations: 23.78 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1305, allocations: 25.66 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1307, allocations: 322.8 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1308, allocations: 35.97 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1309, allocations: 31.97 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1312, allocations: 92.8 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1312, allocations: 0 / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003138/0.1315, allocations: 129.8 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1315, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1316, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1316, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1317, allocations: 27.92 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1317, allocations: 4.062 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.1318, allocations: 19.92 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1318, allocations: 0 / 0.4924 GB, free: 6.984 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.0001186/0.1319, allocations: 125.8 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.132, allocations: 11.95 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.1324, allocations: 138.3 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1324, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1324, allocations: 3.938 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1324, allocations: 7.875 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.133, allocations: 418.4 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.133, allocations: 4 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-05/0.1331, allocations: 24.27 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1331, allocations: 0 / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1332, allocations: 3.938 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1332, allocations: 0 / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1332, allocations: 0 / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.1335, allocations: 227.4 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1336, allocations: 89.06 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1336, allocations: 3.938 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.1337, allocations: 11.98 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1338, allocations: 7.984 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1338, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1339, allocations: 144.1 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.134, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1342, allocations: 16 kB / 0.4936 GB, free: 5.664 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.002142/0.1364, allocations: 1.077 MB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.1367, allocations: 87.94 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1367, allocations: 0 / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1369, allocations: 51.89 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.0003799/0.1372, allocations: 23.12 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.1395, allocations: 1.701 MB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.14, allocations: 0.7118 MB / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.1401, allocations: 24.59 kB / 0.4971 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.1402, allocations: 35.36 kB / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1402, allocations: 0 / 0.4972 GB, free: 1.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1633, allocations: 3.001 MB / 0.5001 GB, free: 14.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.044, allocations: 0 / 0.5001 GB, free: 14.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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