Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001614/0.001614, allocations: 107.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.001938/0.001938, allocations: 188.1 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.416/1.416, 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.2117/0.2117, allocations: 43.52 MB / 314.1 MB, free: 460 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.002019/0.002019, allocations: 72.36 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003598/0.1154, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.1161, allocations: 351.4 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.1162, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1165, allocations: 51.81 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1167, allocations: 55.75 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.1171, allocations: 151.7 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1172, allocations: 75.75 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1174, allocations: 23.98 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.1174, allocations: 31.89 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.1175, allocations: 35.86 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1175, allocations: 0 / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.1176, allocations: 35.98 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1177, allocations: 19.92 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.1177, allocations: 35.72 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1179, allocations: 95.53 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.118, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.118, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.118, allocations: 0 / 0.4899 GB, free: 9.715 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.000648/0.1186, allocations: 414.3 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1187, allocations: 11.89 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.1187, allocations: 30.75 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1188, allocations: 8.891 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.119, allocations: 200.8 kB / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1191, allocations: 12.06 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1191, allocations: 4 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1193, allocations: 61.67 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1193, allocations: 0 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1193, allocations: 3.984 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1193, allocations: 4 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1195, allocations: 35.95 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.12, allocations: 316.6 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1201, allocations: 50.55 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.1202, allocations: 28.94 kB / 0.491 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1203, allocations: 4 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1203, allocations: 30.56 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1203, allocations: 0 / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008501/0.1212, allocations: 233.4 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1212, allocations: 55.34 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1214, allocations: 170.5 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1214, allocations: 25.7 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.1215, allocations: 104.1 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1215, allocations: 35.73 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1216, allocations: 21.66 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1217, allocations: 322.8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1219, allocations: 35.97 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.122, allocations: 39.91 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1222, allocations: 88.8 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1222, allocations: 0 / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002976/0.1225, allocations: 125.6 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1226, allocations: 4 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1226, allocations: 0 / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1226, allocations: 4 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1227, allocations: 27.92 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1227, allocations: 0 / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.1228, allocations: 11.98 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1228, allocations: 3.938 kB / 0.4923 GB, free: 7.012 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 0.0001045/0.1229, allocations: 129.8 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.123, allocations: 7.953 kB / 0.4924 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1233, allocations: 142.3 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1234, allocations: 3.938 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1234, allocations: 0 / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1234, allocations: 0 / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.124, allocations: 414.8 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.124, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.1241, allocations: 23.92 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1241, allocations: 4 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1241, allocations: 3.984 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1241, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1241, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1245, allocations: 231.4 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1246, allocations: 89 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1246, allocations: 4 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.1247, allocations: 15.92 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1248, allocations: 3.984 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1248, allocations: 4 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1249, allocations: 132.1 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1249, allocations: 0 / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1252, allocations: 23.94 kB / 0.4935 GB, free: 5.695 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.002045/0.1272, allocations: 1.053 MB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1276, allocations: 91.92 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1276, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1277, allocations: 47.91 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1281, allocations: 23.67 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1303, allocations: 1.685 MB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1307, allocations: 0.7041 MB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.561e-05/0.1308, allocations: 24.95 kB / 0.497 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.1308, allocations: 31.42 kB / 0.4971 GB, free: 1.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1308, allocations: 0 / 0.4971 GB, free: 1.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1551, allocations: 2.938 MB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.113, allocations: 0 / 0.4999 GB, free: 15 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches