Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",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.001386/0.001386, allocations: 112.1 kB / 16.41 MB, free: 6.43 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.001316/0.001316, allocations: 189 kB / 17.34 MB, free: 5.727 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2186/0.2186, allocations: 43.53 MB / 314.1 MB, free: 468 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.002074/0.002074, allocations: 71.89 kB / 441.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 57.79 MB / 499.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001636/0.1114, allocations: 490.8 kB / 499.6 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1126, allocations: 0.7843 MB / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1127, allocations: 4 kB / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1127, allocations: 0 / 0.4886 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1129, allocations: 7.984 kB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1135, allocations: 62.28 kB / 0.4887 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.1136, allocations: 3.938 kB / 0.4887 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1136, allocations: 7.984 kB / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.1136, allocations: 0 / 0.4887 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1137, allocations: 15.92 kB / 0.4887 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1138, allocations: 0 / 0.4887 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1139, allocations: 51.89 kB / 0.4888 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1139, allocations: 3.984 kB / 0.4888 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.114, allocations: 8 kB / 0.4888 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1141, allocations: 43.88 kB / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1141, allocations: 0 / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1141, allocations: 0 / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1141, allocations: 0 / 0.4888 GB, free: 10.89 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003786/0.1145, allocations: 361 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1146, allocations: 15.89 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1146, allocations: 30.75 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.1146, allocations: 0.9375 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1148, allocations: 168.4 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1148, allocations: 384 / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1148, allocations: 4.375 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.1149, allocations: 26.27 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1149, allocations: 3.938 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1149, allocations: 0 / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1149, allocations: 4 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.115, allocations: 7.938 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1151, allocations: 145.7 kB / 0.4895 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.1152, allocations: 22.61 kB / 0.4896 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1152, allocations: 4.859 kB / 0.4896 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-06/0.1152, allocations: 0 / 0.4896 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.1153, allocations: 64.33 kB / 0.4896 GB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1153, allocations: 0 / 0.4896 GB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.1154, allocations: 71.27 kB / 0.4897 GB, free: 9.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.1155, allocations: 81.23 kB / 0.4898 GB, free: 9.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.1156, allocations: 89.86 kB / 0.4899 GB, free: 9.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1156, allocations: 25.7 kB / 0.4899 GB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1157, allocations: 88.14 kB / 0.49 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.1157, allocations: 0 / 0.49 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1157, allocations: 9.719 kB / 0.49 GB, free: 9.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1159, allocations: 314.8 kB / 0.4903 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.1159, allocations: 4 kB / 0.4903 GB, free: 9.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.1159, allocations: 4.125 kB / 0.4903 GB, free: 9.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.116, allocations: 60.27 kB / 0.4903 GB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.116, allocations: 3.938 kB / 0.4904 GB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.17e-05/0.1161, allocations: 67.34 kB / 0.4904 GB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1161, allocations: 41.56 kB / 0.4905 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1161, allocations: 0 / 0.4905 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1161, allocations: 0 / 0.4905 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1161, allocations: 4 kB / 0.4905 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1162, allocations: 0 / 0.4905 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1162, allocations: 4.094 kB / 0.4905 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1162, allocations: 0 / 0.4905 GB, free: 8.914 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.235e-05/0.1163, allocations: 139.5 kB / 0.4906 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1163, allocations: 3.938 kB / 0.4906 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.1163, allocations: 3.125 kB / 0.4906 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1163, allocations: 0 / 0.4906 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1163, allocations: 3.984 kB / 0.4906 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1163, allocations: 0 / 0.4906 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1165, allocations: 153.6 kB / 0.4908 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1165, allocations: 4 kB / 0.4908 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-06/0.1165, allocations: 4 kB / 0.4908 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1165, allocations: 3.938 kB / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1165, allocations: 0 / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1165, allocations: 0 / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1165, allocations: 11.92 kB / 0.4908 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1166, allocations: 86.83 kB / 0.4909 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1167, allocations: 85.14 kB / 0.4909 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1167, allocations: 7.922 kB / 0.4909 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.1167, allocations: 0 / 0.4909 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.1167, allocations: 0 / 0.4909 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1167, allocations: 4 kB / 0.491 GB, free: 8.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.1168, allocations: 75.28 kB / 0.491 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1168, allocations: 0 / 0.491 GB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.117, allocations: 15.94 kB / 0.491 GB, free: 8.211 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008121/0.1179, allocations: 0.7253 MB / 0.4917 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.118, allocations: 55.41 kB / 0.4918 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.118, allocations: 0 / 0.4918 GB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.118, allocations: 59.41 kB / 0.4919 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.1182, allocations: 7.75 kB / 0.4919 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.1186, allocations: 122.4 kB / 0.492 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1189, allocations: 0.669 MB / 0.4926 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.201e-05/0.1189, allocations: 0 / 0.4926 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1189, allocations: 23.48 kB / 0.4927 GB, free: 6.441 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.119, allocations: 3.938 kB / 0.4927 GB, free: 6.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1441, allocations: 1.484 MB / 0.4941 GB, free: 4.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.045, allocations: 0 / 0.4941 GB, free: 4.945 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches