Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001251/0.001251, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001053/0.001053, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.324/1.324, 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.2005/0.2005, allocations: 43.53 MB / 314.1 MB, free: 444 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.001396/0.001396, allocations: 77.61 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.1008, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00278/0.1036, allocations: 1.616 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1049, allocations: 0.9691 MB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.105, allocations: 4 kB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1052, allocations: 15.86 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1054, allocations: 43.78 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1058, allocations: 155.7 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1059, allocations: 71.77 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.106, allocations: 23.98 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1061, allocations: 23.91 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1062, allocations: 31.84 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1063, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1064, allocations: 55.91 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1064, allocations: 19.92 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1065, allocations: 27.81 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1067, allocations: 103.6 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1067, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1067, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1067, allocations: 0 / 0.4905 GB, free: 9.098 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.0004866/0.1072, allocations: 402.9 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1073, allocations: 11.89 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1073, allocations: 38.73 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1074, allocations: 4.891 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1076, allocations: 196.2 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1076, allocations: 4.375 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1076, allocations: 4.375 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1078, allocations: 87.3 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1078, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1078, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1078, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.108, allocations: 43.95 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1084, allocations: 308.7 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1085, allocations: 42.56 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.1086, allocations: 28.92 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1086, allocations: 4 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1087, allocations: 34.56 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1087, allocations: 0 / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007489/0.1094, allocations: 221.3 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1095, allocations: 85.05 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1096, allocations: 148.3 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1097, allocations: 25.7 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.1097, allocations: 104.1 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1098, allocations: 35.73 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1098, allocations: 21.72 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.1099, allocations: 318.8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.11, allocations: 31.97 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1102, allocations: 57.67 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1104, allocations: 88.8 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1104, allocations: 0 / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002859/0.1107, allocations: 121.5 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1107, allocations: 8 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1107, allocations: 4.031 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1107, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1109, allocations: 27.98 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1109, allocations: 3.938 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.1109, allocations: 7.984 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.111, allocations: 4 kB / 0.4929 GB, free: 6.375 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 7.959e-05/0.111, allocations: 117.8 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1111, allocations: 11.95 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.1114, allocations: 142.2 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1114, allocations: 4.281 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1114, allocations: 3.938 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1114, allocations: 0 / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.112, allocations: 402.9 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.112, allocations: 7.984 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.1121, allocations: 23.92 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1121, allocations: 3.938 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1121, allocations: 4 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1121, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1121, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1124, allocations: 227.5 kB / 0.4938 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1125, allocations: 85.05 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1125, allocations: 7.938 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1126, allocations: 11.98 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1127, allocations: 7.938 kB / 0.4939 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1127, allocations: 0 / 0.4939 GB, free: 5.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.1128, allocations: 115.2 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1128, allocations: 0 / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1131, allocations: 23.94 kB / 0.4941 GB, free: 5.09 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.001386/0.1144, allocations: 1.104 MB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1148, allocations: 87.92 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1148, allocations: 0 / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1149, allocations: 51.91 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1152, allocations: 15.98 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1171, allocations: 1.589 MB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1173, allocations: 0.7041 MB / 0.4975 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.173e-05/0.1174, allocations: 25.11 kB / 0.4975 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.1175, allocations: 23.42 kB / 0.4976 GB, free: 1.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1175, allocations: 4 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.1378, allocations: 3.123 MB / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/7.878, allocations: 7.906 kB / 0.5006 GB, free: 14.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches