Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.0009938/0.0009939, allocations: 105.9 kB / 16.4 MB, free: 5.961 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.0009619/0.0009619, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2231/0.2231, allocations: 43.52 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.001694/0.001694, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1175, allocations: 57.81 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.003423/0.1209, allocations: 1.61 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1221, allocations: 0.6841 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.1221, allocations: 4 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1224, allocations: 27.91 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1227, allocations: 35.83 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.1227, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1229, allocations: 39.89 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.123, allocations: 8 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.123, allocations: 11.88 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.1231, allocations: 19.91 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1231, allocations: 0 / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.1232, allocations: 12 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.1232, allocations: 11.94 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.1233, allocations: 23.8 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1234, allocations: 67.67 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1235, allocations: 3.938 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1235, allocations: 0 / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1235, allocations: 0 / 0.4899 GB, free: 9.691 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004192/0.1239, allocations: 371.1 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1239, allocations: 15.83 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.124, allocations: 38.75 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.124, allocations: 8.891 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1242, allocations: 176.3 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1242, allocations: 384 / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1242, allocations: 4.375 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1244, allocations: 130.9 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1245, allocations: 3.938 kB / 0.4906 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1245, allocations: 0 / 0.4906 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.1245, allocations: 27.92 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.1246, allocations: 43.91 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.1253, allocations: 0.8945 MB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.1253, allocations: 165.1 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.1254, allocations: 92.08 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1254, allocations: 75.28 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.1255, allocations: 105.8 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.1255, allocations: 96 / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.337e-05/0.1256, allocations: 41.59 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1256, allocations: 130.7 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1258, allocations: 190.1 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1258, allocations: 25.7 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.126, allocations: 155.5 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.126, allocations: 0 / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.126, allocations: 45.66 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1261, allocations: 318.8 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.1262, allocations: 31.98 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1263, allocations: 157 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1266, allocations: 208.9 kB / 0.4932 GB, free: 5.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1266, allocations: 0 / 0.4932 GB, free: 5.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003166/0.1269, allocations: 205.1 kB / 0.4934 GB, free: 5.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1269, allocations: 8 kB / 0.4934 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1269, allocations: 4 kB / 0.4934 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.127, allocations: 4 kB / 0.4934 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1271, allocations: 39.92 kB / 0.4935 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1271, allocations: 4.594 kB / 0.4935 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.1272, allocations: 23.89 kB / 0.4935 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1272, allocations: 12 kB / 0.4935 GB, free: 5.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001528/0.1274, allocations: 216.9 kB / 0.4937 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1275, allocations: 120.8 kB / 0.4938 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.1276, allocations: 116.8 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/0.1276, allocations: 180.2 kB / 0.4941 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-05/0.1277, allocations: 188.2 kB / 0.4943 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.834e-05/0.1278, allocations: 180.2 kB / 0.4945 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.128, allocations: 429.1 kB / 0.4949 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/0.1281, allocations: 101 kB / 0.495 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.1281, allocations: 112.9 kB / 0.4951 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.327e-05/0.1282, allocations: 184.3 kB / 0.4953 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.1283, allocations: 176.3 kB / 0.4954 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-05/0.1284, allocations: 184.2 kB / 0.4956 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-05/0.1284, allocations: 176.3 kB / 0.4958 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1286, allocations: 323.6 kB / 0.4961 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.1287, allocations: 190 kB / 0.4963 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.1288, allocations: 180.2 kB / 0.4964 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.1289, allocations: 105 kB / 0.4965 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.129, allocations: 192.2 kB / 0.4967 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.1291, allocations: 101 kB / 0.4968 GB, free: 1.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.1292, allocations: 124.1 kB / 0.4969 GB, free: 1.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1292, allocations: 7.938 kB / 0.4969 GB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1295, allocations: 19.98 kB / 0.497 GB, free: 1.836 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 (0): * Single equations (assignments): 0 * 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.0007802/0.1303, allocations: 0.9025 MB / 0.4978 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1305, allocations: 79.78 kB / 0.4979 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1305, allocations: 0 / 0.4979 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.1305, allocations: 0 / 0.4979 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1309, allocations: 464.9 kB / 0.4984 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1325, allocations: 1.879 MB / 0.5002 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1328, allocations: 0.6928 MB / 0.5009 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.133, allocations: 56.95 kB / 0.5009 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.133, allocations: 23.42 kB / 0.501 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.133, allocations: 4 kB / 0.501 GB, free: 13.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.1532, allocations: 2.089 MB / 0.503 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.53, allocations: 7.984 kB / 0.503 GB, free: 11.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches