Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001253/0.001253, allocations: 107.9 kB / 16.41 MB, free: 5.973 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.00128/0.00128, allocations: 190.9 kB / 17.34 MB, free: 5.582 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2184/0.2184, allocations: 43.53 MB / 314.1 MB, free: 448 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.002024/0.002024, allocations: 72.98 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1197, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003109/0.1229, allocations: 1.619 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.1236, allocations: 347.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.1237, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.124, allocations: 71.77 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1242, allocations: 63.73 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1248, allocations: 151.7 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.125, allocations: 79.75 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1251, allocations: 27.97 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1252, allocations: 35.89 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1253, allocations: 47.83 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1253, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.1254, allocations: 35.92 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1255, allocations: 31.91 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.1255, allocations: 27.75 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1257, allocations: 107.5 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1257, allocations: 4 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1258, allocations: 0 / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1258, allocations: 0 / 0.49 GB, free: 9.625 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.0005918/0.1264, allocations: 422.7 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1264, allocations: 11.89 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.1265, allocations: 30.75 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1265, allocations: 8.891 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1267, allocations: 216.8 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1268, allocations: 384 / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1268, allocations: 4.375 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.127, allocations: 69.59 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.127, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.127, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.127, allocations: 3.938 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1272, allocations: 39.97 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1276, allocations: 324.7 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1278, allocations: 46.56 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.1279, allocations: 24.94 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1279, allocations: 3.984 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1279, allocations: 34.55 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1279, allocations: 4 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007922/0.1287, allocations: 233.2 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1288, allocations: 51.41 kB / 0.4914 GB, free: 7.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.129, allocations: 216.3 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1291, allocations: 29.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.1291, allocations: 116 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1292, allocations: 15.88 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1292, allocations: 33.62 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1294, allocations: 326.8 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1295, allocations: 31.97 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1296, allocations: 43.97 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1299, allocations: 84.8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1299, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003244/0.1302, allocations: 125.5 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1302, allocations: 4 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1303, allocations: 4 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1303, allocations: 0 / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1304, allocations: 23.92 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1305, allocations: 0 / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.1305, allocations: 15.92 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1305, allocations: 4 kB / 0.4925 GB, free: 6.844 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.0001079/0.1307, allocations: 129.8 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1307, allocations: 15.95 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.1311, allocations: 139 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1312, allocations: 3.938 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1312, allocations: 0 / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.1312, allocations: 7.938 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.1318, allocations: 422.4 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1318, allocations: 4 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/0.1319, allocations: 15.98 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1319, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1319, allocations: 7.938 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1319, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1319, allocations: 3.938 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1323, allocations: 223.9 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1324, allocations: 97 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1324, allocations: 3.938 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.1325, allocations: 8 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1325, allocations: 11.98 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1326, allocations: 0 / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1327, allocations: 167.5 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.133, allocations: 19.98 kB / 0.4937 GB, free: 5.477 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.002016/0.135, allocations: 1.061 MB / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1353, allocations: 91.91 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1353, allocations: 0 / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1355, allocations: 47.91 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1359, allocations: 27.83 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1383, allocations: 1.757 MB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.1388, allocations: 0.7119 MB / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1389, allocations: 24.95 kB / 0.4973 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.139, allocations: 31.42 kB / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.139, allocations: 0 / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1641, allocations: 3.113 MB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.048, allocations: 3.938 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches