Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001333/0.001333, allocations: 109 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.001276/0.001276, allocations: 189.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.381/1.381, 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.2106/0.2106, 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.002002/0.002002, allocations: 71.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1084, allocations: 57.81 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00284/0.1112, allocations: 1.565 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.1119, allocations: 319.6 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.112, allocations: 4 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.1128, allocations: 451.1 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.1132, allocations: 255.4 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.1136, allocations: 151.7 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1139, allocations: 159.7 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.114, allocations: 15.98 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.1141, allocations: 107.8 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1144, allocations: 215.6 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1144, allocations: 0 / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.1145, allocations: 20 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1146, allocations: 83.69 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1148, allocations: 95.05 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1151, allocations: 250.7 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1152, allocations: 3.938 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1152, allocations: 0 / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1152, allocations: 0 / 0.491 GB, free: 8.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000865/0.116, allocations: 0.6452 MB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1161, allocations: 19.89 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1161, allocations: 34.75 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.1162, allocations: 40.66 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1165, allocations: 308.6 kB / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.1166, allocations: 384 / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1166, allocations: 4.375 kB / 0.492 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1167, allocations: 53.61 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1168, allocations: 0 / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1168, allocations: 4 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1168, allocations: 4 kB / 0.4921 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.274e-05/0.1169, allocations: 23.92 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1174, allocations: 392.8 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.1175, allocations: 26.58 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1175, allocations: 16.91 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1176, allocations: 4 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1176, allocations: 38.5 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1176, allocations: 0 / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002853/0.1179, allocations: 105.4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.118, allocations: 51.41 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/0.1189, allocations: 0.8653 MB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1189, allocations: 25.7 kB / 0.4936 GB, free: 5.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1191, allocations: 228.1 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1192, allocations: 7.953 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1192, allocations: 17.66 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002442/0.1194, allocations: 362.7 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.1195, allocations: 11.98 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.1195, allocations: 11.98 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.1196, allocations: 36.78 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1196, allocations: 0 / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001574/0.1198, allocations: 93.41 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1198, allocations: 8 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1198, allocations: 0 / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1199, allocations: 0 / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.1199, allocations: 7.984 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.12, allocations: 0 / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.12, allocations: 4 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.12, allocations: 8.016 kB / 0.4943 GB, free: 4.949 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 (2): * Single equations (assignments): 2 * 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.0002113/0.1202, allocations: 217.6 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.1203, allocations: 47.67 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1205, allocations: 108.6 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1205, allocations: 0 / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1205, allocations: 0 / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1206, allocations: 0 / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1209, allocations: 285.5 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1209, allocations: 4.031 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.1209, allocations: 11.98 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1209, allocations: 0 / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1209, allocations: 7.984 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.121, allocations: 0 / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.121, allocations: 0 / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.1212, allocations: 191.1 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.1213, allocations: 120.8 kB / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1213, allocations: 0 / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1214, allocations: 4 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1214, allocations: 3.984 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.1214, allocations: 0 / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006712/0.1221, allocations: 0.6511 MB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1221, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1224, allocations: 23.94 kB / 0.4959 GB, free: 3.195 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 (2): * Single equations (assignments): 2 * 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.001652/0.124, allocations: 0.974 MB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1242, allocations: 27.92 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1242, allocations: 0 / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.1242, allocations: 11.98 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1247, allocations: 30.19 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.1282, allocations: 3.15 MB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.1286, allocations: 0.8298 MB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.1287, allocations: 11.92 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1288, allocations: 107.4 kB / 0.501 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1288, allocations: 0 / 0.501 GB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1564, allocations: 5.737 MB / 0.5066 GB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.662, allocations: 15.95 kB / 0.5066 GB, free: 8.176 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_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_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches