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.001701/0.001701, allocations: 104.1 kB / 16.4 MB, free: 6.504 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.001735/0.001735, allocations: 192.2 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.544/1.544, 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.2145/0.2145, allocations: 43.52 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.002026/0.002026, allocations: 77.45 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001682/0.1139, allocations: 494.8 kB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1152, allocations: 0.7726 MB / 0.4886 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1152, allocations: 8 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.1153, allocations: 0 / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1154, allocations: 7.984 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1161, allocations: 66.42 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.1161, allocations: 4 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1162, allocations: 0 / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.1162, allocations: 0 / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.1163, allocations: 7.938 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1163, allocations: 0 / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1165, allocations: 59.88 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/0.1165, allocations: 0 / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1165, allocations: 15.92 kB / 0.4888 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1167, allocations: 43.88 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1167, allocations: 4 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1167, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1167, allocations: 0 / 0.4888 GB, free: 10.84 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.0004481/0.1171, allocations: 361 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1172, allocations: 11.89 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.1172, allocations: 30.75 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.1173, allocations: 0.9375 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1174, allocations: 168.4 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1174, allocations: 4.359 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.1174, allocations: 384 / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.1175, allocations: 34.25 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1175, allocations: 3.938 kB / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1175, allocations: 0 / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1176, allocations: 3.938 kB / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.1176, allocations: 0 / 0.4894 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.1177, allocations: 149.7 kB / 0.4895 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.1178, allocations: 22.56 kB / 0.4896 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.1178, allocations: 4.859 kB / 0.4896 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.1178, allocations: 4.062 kB / 0.4896 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.1179, allocations: 56.27 kB / 0.4896 GB, free: 9.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1179, allocations: 0 / 0.4896 GB, free: 9.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001683/0.1181, allocations: 71.28 kB / 0.4897 GB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1181, allocations: 85.22 kB / 0.4898 GB, free: 9.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.1182, allocations: 93.86 kB / 0.4899 GB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1182, allocations: 25.7 kB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1183, allocations: 80.14 kB / 0.49 GB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.1183, allocations: 0 / 0.49 GB, free: 9.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1183, allocations: 17.72 kB / 0.49 GB, free: 9.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1185, allocations: 310.8 kB / 0.4903 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.1185, allocations: 0 / 0.4903 GB, free: 9.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.1185, allocations: 4.125 kB / 0.4903 GB, free: 9.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.1186, allocations: 68.19 kB / 0.4904 GB, free: 9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1186, allocations: 0 / 0.4904 GB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.838e-05/0.1187, allocations: 63.41 kB / 0.4904 GB, free: 8.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.1187, allocations: 41.58 kB / 0.4905 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1187, allocations: 0 / 0.4905 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.1187, allocations: 0 / 0.4905 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1187, allocations: 3.984 kB / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1187, allocations: 0 / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.1188, allocations: 4.094 kB / 0.4905 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1188, allocations: 3.938 kB / 0.4905 GB, free: 8.867 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.867e-05/0.1189, allocations: 139.5 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.1189, allocations: 3.938 kB / 0.4906 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.1189, allocations: 3.125 kB / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1189, allocations: 0 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1189, allocations: 4 kB / 0.4906 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1189, allocations: 0 / 0.4906 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.119, allocations: 149.6 kB / 0.4908 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1191, allocations: 8 kB / 0.4908 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1191, allocations: 0 / 0.4908 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1191, allocations: 3.938 kB / 0.4908 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1191, allocations: 8 kB / 0.4908 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1191, allocations: 3.938 kB / 0.4908 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1191, allocations: 0 / 0.4908 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.923e-05/0.1192, allocations: 90.83 kB / 0.4909 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1193, allocations: 81.14 kB / 0.4909 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1193, allocations: 3.938 kB / 0.4909 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.1193, allocations: 0 / 0.4909 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.1193, allocations: 4 kB / 0.4909 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1193, allocations: 3.984 kB / 0.491 GB, free: 8.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.655e-05/0.1194, allocations: 75.28 kB / 0.491 GB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1194, allocations: 0 / 0.491 GB, free: 8.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.1196, allocations: 19.94 kB / 0.491 GB, free: 8.164 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.0007216/0.1203, allocations: 0.7213 MB / 0.4917 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.1204, allocations: 59.39 kB / 0.4918 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1204, allocations: 4 kB / 0.4918 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.1205, allocations: 51.41 kB / 0.4919 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1206, allocations: 4.781 kB / 0.4919 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.1209, allocations: 126.4 kB / 0.492 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1213, allocations: 0.669 MB / 0.4926 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.194e-06/0.1213, allocations: 7.938 kB / 0.4926 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.1213, allocations: 11.56 kB / 0.4927 GB, free: 6.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1213, allocations: 0 / 0.4927 GB, free: 6.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.1742, allocations: 1.492 MB / 0.4941 GB, free: 4.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/8.78, allocations: 3.938 kB / 0.4941 GB, free: 4.902 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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