Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001315/0.001315, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001278/0.001278, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.458/1.458, 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.2157/0.2157, allocations: 43.54 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.002009/0.002009, allocations: 78.02 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003295/0.1142, allocations: 1.608 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.115, allocations: 347.6 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.1151, allocations: 7.938 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1157, allocations: 451.1 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.1161, allocations: 259.4 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1166, allocations: 155.7 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1168, allocations: 163.7 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1169, allocations: 27.98 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1171, allocations: 111.8 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1173, allocations: 211.6 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1174, allocations: 4 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1175, allocations: 31.98 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1176, allocations: 87.62 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.1177, allocations: 103 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1181, allocations: 262.6 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1181, allocations: 0 / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1181, allocations: 0 / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1181, allocations: 0 / 0.4911 GB, free: 8.461 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.0009329/0.1191, allocations: 0.6724 MB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.1191, allocations: 11.89 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1192, allocations: 34.75 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.1193, allocations: 44.66 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1196, allocations: 304.6 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1196, allocations: 384 / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1197, allocations: 12.3 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1199, allocations: 65.61 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1199, allocations: 0 / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1199, allocations: 7.984 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1199, allocations: 0 / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1201, allocations: 39.91 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.1207, allocations: 404.7 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1209, allocations: 50.56 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1209, allocations: 24.94 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.121, allocations: 3.938 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.121, allocations: 30.56 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.121, allocations: 0 / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009309/0.122, allocations: 316.5 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.122, allocations: 51.41 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.123, allocations: 0.8652 MB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.123, allocations: 29.7 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1232, allocations: 216 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1232, allocations: 27.8 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1233, allocations: 21.7 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1235, allocations: 358.8 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1236, allocations: 39.91 kB / 0.4946 GB, free: 4.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1238, allocations: 40.03 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.124, allocations: 96.84 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.124, allocations: 8 kB / 0.4947 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003346/0.1244, allocations: 153.3 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1244, allocations: 4 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1244, allocations: 0 / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1244, allocations: 0 / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1246, allocations: 23.98 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1246, allocations: 3.984 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.1247, allocations: 11.94 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1247, allocations: 4 kB / 0.4949 GB, free: 4.289 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.0002083/0.1249, allocations: 217.7 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.125, allocations: 47.67 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.1254, allocations: 185.4 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1254, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1254, allocations: 7.922 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1254, allocations: 3.938 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.1262, allocations: 0.4985 MB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1262, allocations: 0 / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.1263, allocations: 23.92 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1263, allocations: 3.984 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1263, allocations: 7.938 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1263, allocations: 0 / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1263, allocations: 0 / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.1268, allocations: 255.2 kB / 0.4961 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.1269, allocations: 112.8 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.127, allocations: 3.938 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1271, allocations: 11.98 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1272, allocations: 12.25 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1272, allocations: 4 kB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.1279, allocations: 0.6472 MB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1279, allocations: 0 / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1282, allocations: 27.89 kB / 0.4969 GB, free: 2.129 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.002112/0.1303, allocations: 1.107 MB / 0.498 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.1307, allocations: 99.84 kB / 0.4981 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1307, allocations: 0 / 0.4981 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1309, allocations: 43.97 kB / 0.4982 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1313, allocations: 29.89 kB / 0.4982 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.1355, allocations: 3.342 MB / 0.5015 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.1361, allocations: 0.8299 MB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.1362, allocations: 20.59 kB / 0.5023 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1363, allocations: 119.4 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1363, allocations: 0 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.1669, allocations: 6.18 MB / 0.5084 GB, free: 6.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/8.622, allocations: 15.89 kB / 0.5084 GB, free: 6.234 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches