Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.001838/0.001838, allocations: 109.6 kB / 16.41 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.001887/0.001887, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.23 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.223/0.223, allocations: 43.53 MB / 314.1 MB, free: 464 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.002221/0.002221, allocations: 73.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003007/0.1169, allocations: 1.612 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006055/0.1175, allocations: 323.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.1176, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.1181, allocations: 443.2 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1184, allocations: 259.4 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1187, allocations: 115.7 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1189, allocations: 159.7 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.119, allocations: 12.17 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1191, allocations: 111.8 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1193, allocations: 207.6 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1193, allocations: 4 kB / 0.4906 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.1194, allocations: 28 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.1195, allocations: 79.69 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.1196, allocations: 107 kB / 0.4908 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1198, allocations: 262.6 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1199, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1199, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1199, allocations: 0 / 0.491 GB, free: 8.598 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.000637/0.1205, allocations: 0.6452 MB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1206, allocations: 15.83 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.1206, allocations: 38.75 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1207, allocations: 40.66 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1209, allocations: 304.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1209, allocations: 384 / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.121, allocations: 16.06 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1211, allocations: 49.67 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1211, allocations: 0 / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1211, allocations: 4 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1211, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.1212, allocations: 31.92 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1216, allocations: 388.6 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1218, allocations: 42.56 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.1219, allocations: 12.86 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1219, allocations: 3.938 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1219, allocations: 38.66 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1219, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005567/0.1225, allocations: 240.8 kB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1225, allocations: 51.41 kB / 0.4929 GB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.1233, allocations: 0.8613 MB / 0.4937 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1233, allocations: 29.64 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1235, allocations: 228.1 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1235, allocations: 15.84 kB / 0.494 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.1236, allocations: 17.72 kB / 0.494 GB, free: 5.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1237, allocations: 362.8 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.1238, allocations: 19.98 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1239, allocations: 19.98 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.124, allocations: 57.02 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.124, allocations: 0 / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002069/0.1242, allocations: 113.3 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1242, allocations: 4 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1243, allocations: 4 kB / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1243, allocations: 0 / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1243, allocations: 11.98 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1244, allocations: 3.938 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.1244, allocations: 12 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1244, allocations: 4 kB / 0.4946 GB, free: 4.711 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.0001689/0.1246, allocations: 209.7 kB / 0.4948 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.1247, allocations: 47.67 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1249, allocations: 137 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.125, allocations: 3.938 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.125, allocations: 7.922 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.125, allocations: 4 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1255, allocations: 450.5 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1255, allocations: 0 / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1256, allocations: 11.98 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1256, allocations: 8.125 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1256, allocations: 4 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1256, allocations: 3.938 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1256, allocations: 3.984 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1258, allocations: 215.2 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.1259, allocations: 112.8 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.126, allocations: 3.938 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.1261, allocations: 4 kB / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1261, allocations: 7.984 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1261, allocations: 4 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.1267, allocations: 0.655 MB / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1267, allocations: 0 / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1269, allocations: 23.92 kB / 0.4964 GB, free: 2.715 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.001249/0.1282, allocations: 1.059 MB / 0.4974 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1284, allocations: 43.97 kB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1284, allocations: 0 / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.1285, allocations: 27.92 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1289, allocations: 29.89 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.1324, allocations: 3.195 MB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1329, allocations: 0.8221 MB / 0.5015 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1329, allocations: 11.98 kB / 0.5015 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1331, allocations: 103.3 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1331, allocations: 0 / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.1586, allocations: 5.983 MB / 0.5074 GB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.442, allocations: 0 / 0.5074 GB, free: 7.312 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_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_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches