Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001245/0.001245, allocations: 105.3 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.002414/0.002414, allocations: 189.5 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.365/1.365, 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.1905/0.1905, 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.001725/0.001725, allocations: 77.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09612, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002819/0.09898, allocations: 1.596 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.0996, allocations: 323.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.09967, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.1002, allocations: 451.2 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.1005, allocations: 255.4 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1008, allocations: 115.8 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1011, allocations: 159.6 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.1012, allocations: 16.17 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1013, allocations: 103.8 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1015, allocations: 211.6 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1015, allocations: 0 / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.1016, allocations: 35.92 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.1017, allocations: 83.69 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.1018, allocations: 99 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1021, allocations: 262.6 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1021, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1021, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1021, allocations: 0 / 0.491 GB, free: 8.57 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.0006591/0.1028, allocations: 0.6491 MB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1029, allocations: 15.89 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1029, allocations: 34.69 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.103, allocations: 44.66 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1032, allocations: 308.5 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1033, allocations: 4.375 kB / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1033, allocations: 4.125 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1034, allocations: 57.66 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1035, allocations: 0 / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1035, allocations: 4 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1035, allocations: 4 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.1036, allocations: 19.98 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.104, allocations: 392.6 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1043, allocations: 50.53 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1043, allocations: 12.86 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1044, allocations: 4 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1044, allocations: 34.5 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1044, allocations: 0 / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006108/0.105, allocations: 228.8 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1051, allocations: 55.34 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.1058, allocations: 0.8652 MB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1058, allocations: 33.7 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.106, allocations: 220.1 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.106, allocations: 23.91 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1061, allocations: 13.72 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1062, allocations: 366.7 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.1063, allocations: 19.98 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.1064, allocations: 19.98 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1065, allocations: 53.02 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1065, allocations: 0 / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.1067, allocations: 121.3 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1067, allocations: 4 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1068, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1068, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.1068, allocations: 15.98 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1069, allocations: 7.938 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1069, allocations: 4 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1069, allocations: 0 / 0.4946 GB, free: 4.68 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.0001732/0.1071, allocations: 217.7 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.1072, allocations: 51.61 kB / 0.4948 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1074, allocations: 129 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1075, allocations: 0 / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1075, allocations: 7.938 kB / 0.4949 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1075, allocations: 7.984 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.108, allocations: 450.5 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.108, allocations: 4 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.108, allocations: 8 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.108, allocations: 4.125 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1081, allocations: 7.984 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1081, allocations: 0 / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1081, allocations: 8 kB / 0.4954 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1083, allocations: 207.2 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1084, allocations: 116.8 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1084, allocations: 3.938 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.1085, allocations: 8 kB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1086, allocations: 3.984 kB / 0.4957 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1086, allocations: 8 kB / 0.4957 GB, free: 3.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000541/0.1091, allocations: 0.6472 MB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1091, allocations: 0 / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1094, allocations: 27.94 kB / 0.4964 GB, free: 2.684 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.001279/0.1107, allocations: 1.06 MB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1109, allocations: 43.97 kB / 0.4975 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1109, allocations: 0 / 0.4975 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1109, allocations: 31.92 kB / 0.4975 GB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1113, allocations: 21.89 kB / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.1145, allocations: 3.199 MB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1148, allocations: 0.8221 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.781e-05/0.1149, allocations: 4 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.115, allocations: 107.3 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.115, allocations: 0 / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.137, allocations: 5.978 MB / 0.5074 GB, free: 7.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.598, allocations: 7.969 kB / 0.5074 GB, free: 7.289 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_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_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches