Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001162/0.001162, allocations: 100.5 kB / 16.4 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.001232/0.001232, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1906/0.1907, allocations: 43.52 MB / 314.1 MB, free: 472 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.001384/0.001384, allocations: 71.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00305/0.1075, allocations: 1.604 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006457/0.1082, allocations: 339.6 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.1083, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.1089, allocations: 455.1 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1093, allocations: 263.4 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1097, allocations: 151.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.11, allocations: 167.6 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1101, allocations: 20.17 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1102, allocations: 107.8 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1105, allocations: 211.6 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1105, allocations: 4 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.1106, allocations: 35.92 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.1107, allocations: 83.7 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.218e-05/0.1108, allocations: 107 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1111, allocations: 251 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1111, allocations: 3.938 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1111, allocations: 3.984 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1111, allocations: 8 kB / 0.4911 GB, free: 8.512 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.0007421/0.1119, allocations: 0.6336 MB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1119, allocations: 11.89 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.112, allocations: 42.73 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.112, allocations: 40.38 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1123, allocations: 304.1 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1123, allocations: 384 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1124, allocations: 12.12 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1125, allocations: 61.66 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1126, allocations: 4 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1126, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1126, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1127, allocations: 23.98 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1132, allocations: 404.6 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1134, allocations: 50.55 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.1135, allocations: 16.86 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1135, allocations: 0 / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1136, allocations: 34.64 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1136, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006367/0.1142, allocations: 232 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1143, allocations: 51.41 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.1151, allocations: 0.873 MB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1151, allocations: 25.7 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1152, allocations: 224 kB / 0.494 GB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1153, allocations: 19.75 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1153, allocations: 17.72 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1154, allocations: 358.8 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.1155, allocations: 23.98 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.1156, allocations: 23.98 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1157, allocations: 52.77 kB / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1157, allocations: 0 / 0.4945 GB, free: 4.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/0.1159, allocations: 125.4 kB / 0.4946 GB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1159, allocations: 4 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1159, allocations: 4 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.116, allocations: 0 / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.116, allocations: 19.92 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.116, allocations: 3.938 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.1161, allocations: 12.23 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1161, allocations: 0 / 0.4947 GB, free: 4.602 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 (5): * Single equations (assignments): 5 * 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.0001646/0.1163, allocations: 217.7 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.1164, allocations: 43.44 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1166, allocations: 145.1 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1166, allocations: 0 / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1166, allocations: 3.938 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1166, allocations: 4 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.1171, allocations: 466.4 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1172, allocations: 0 / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.1172, allocations: 11.98 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1172, allocations: 11.94 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1173, allocations: 0 / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1173, allocations: 0 / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1173, allocations: 0 / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1175, allocations: 218.9 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.1176, allocations: 112.5 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1176, allocations: 3.938 kB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.1177, allocations: 11.98 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.1178, allocations: 4 kB / 0.4959 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1178, allocations: 0 / 0.4959 GB, free: 3.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005749/0.1184, allocations: 0.6589 MB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1184, allocations: 3.938 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1186, allocations: 16 kB / 0.4965 GB, free: 2.59 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 (5): * Single equations (assignments): 5 * 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.001255/0.1199, allocations: 1.069 MB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1201, allocations: 51.97 kB / 0.4976 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1201, allocations: 0 / 0.4976 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.1202, allocations: 27.97 kB / 0.4976 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1206, allocations: 26.31 kB / 0.4977 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.1241, allocations: 3.234 MB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1245, allocations: 0.8182 MB / 0.5016 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.1246, allocations: 19.98 kB / 0.5016 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1247, allocations: 119.4 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1247, allocations: 0 / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1488, allocations: 6.063 MB / 0.5077 GB, free: 7.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.163, allocations: 15.81 kB / 0.5077 GB, free: 7.023 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches