Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001912/0.001912, allocations: 106.1 kB / 16.41 MB, free: 6.445 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.001957/0.001957, allocations: 189.6 kB / 17.34 MB, free: 5.711 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2119/0.2119, allocations: 43.53 MB / 314.1 MB, free: 456 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.001987/0.001987, allocations: 69.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003346/0.1073, allocations: 1.565 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.108, allocations: 331.5 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.1081, allocations: 0 / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.1087, allocations: 455.1 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.1091, allocations: 251.5 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1095, allocations: 151.6 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.1099, allocations: 159.7 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.11, allocations: 19.97 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1102, allocations: 103.8 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1105, allocations: 211.6 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1105, allocations: 4 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1106, allocations: 23.98 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1107, allocations: 83.67 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.1108, allocations: 95.06 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1112, allocations: 250.7 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1112, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1112, allocations: 7.875 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1112, allocations: 0 / 0.491 GB, free: 8.59 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.0008173/0.112, allocations: 0.6453 MB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1121, allocations: 11.89 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.1121, allocations: 34.75 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.621e-05/0.1122, allocations: 40.66 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1126, allocations: 308.6 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1126, allocations: 384 / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1126, allocations: 4.359 kB / 0.492 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1128, allocations: 49.62 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1128, allocations: 7.938 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1128, allocations: 7.984 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1128, allocations: 4 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.1129, allocations: 19.98 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.1134, allocations: 384.8 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.1136, allocations: 34.56 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1136, allocations: 20.84 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1137, allocations: 4 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1137, allocations: 34.56 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.1137, allocations: 0 / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002979/0.114, allocations: 105.4 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1141, allocations: 51.41 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.115, allocations: 0.8693 MB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.115, allocations: 25.7 kB / 0.4936 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1152, allocations: 220 kB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1152, allocations: 3.953 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1152, allocations: 21.7 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1154, allocations: 362.7 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.1155, allocations: 19.92 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.1155, allocations: 8 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/0.1156, allocations: 28.84 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1156, allocations: 3.938 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.1158, allocations: 93.39 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1158, allocations: 4 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1158, allocations: 4 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1159, allocations: 0 / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1159, allocations: 8.094 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.116, allocations: 4 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.116, allocations: 7.984 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.116, allocations: 3.938 kB / 0.4943 GB, free: 4.93 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.0002082/0.1162, allocations: 213.7 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.1163, allocations: 43.67 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1165, allocations: 108.7 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1165, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1166, allocations: 12.03 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1166, allocations: 0 / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.1169, allocations: 285.5 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1169, allocations: 0 / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.1169, allocations: 4 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.117, allocations: 4 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.117, allocations: 4 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.117, allocations: 0 / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.117, allocations: 3.984 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1172, allocations: 195.1 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.1173, allocations: 116.8 kB / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1174, allocations: 0 / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.1174, allocations: 4 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1175, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1175, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007245/0.1182, allocations: 0.655 MB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1182, allocations: 32 / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1185, allocations: 27.94 kB / 0.4959 GB, free: 3.176 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.001746/0.1203, allocations: 0.9716 MB / 0.4969 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1204, allocations: 23.97 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1205, allocations: 4 kB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.1205, allocations: 8 kB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.121, allocations: 34.17 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.1247, allocations: 3.154 MB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.1252, allocations: 0.8182 MB / 0.5008 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.1253, allocations: 15.92 kB / 0.5008 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1254, allocations: 111.4 kB / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1254, allocations: 0 / 0.501 GB, free: 13.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.1536, allocations: 5.735 MB / 0.5066 GB, free: 8.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/8.728, allocations: 19.91 kB / 0.5066 GB, free: 8.164 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches