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.001626/0.001626, allocations: 106.2 kB / 16.41 MB, free: 6.508 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.002293/0.002293, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.434/1.434, 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.2004/0.2004, allocations: 43.52 MB / 314.1 MB, free: 452 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.002285/0.002285, allocations: 65.45 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001666/0.1233, allocations: 0.4951 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1245, allocations: 0.7727 MB / 0.4886 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.1246, allocations: 4 kB / 0.4886 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.1246, allocations: 3.938 kB / 0.4886 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1248, allocations: 7.984 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.1255, allocations: 62.27 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1256, allocations: 4 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.1256, allocations: 4 kB / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1256, allocations: 0 / 0.4887 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.1257, allocations: 7.938 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1258, allocations: 0 / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1259, allocations: 55.94 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.1259, allocations: 4 kB / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.126, allocations: 0 / 0.4888 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1261, allocations: 55.86 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1261, allocations: 0 / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1261, allocations: 3.938 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1261, allocations: 0 / 0.4888 GB, free: 10.85 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.000352/0.1265, allocations: 361.1 kB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1265, allocations: 15.89 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.1266, allocations: 30.75 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.1266, allocations: 0.9375 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1267, allocations: 168.4 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1268, allocations: 384 / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1268, allocations: 4.375 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.591e-05/0.1269, allocations: 26.27 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1269, allocations: 3.938 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1269, allocations: 0 / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1269, allocations: 0 / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.1269, allocations: 7.938 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.1271, allocations: 153.7 kB / 0.4896 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.1271, allocations: 18.61 kB / 0.4896 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.1271, allocations: 8.844 kB / 0.4896 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.1271, allocations: 0 / 0.4896 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1272, allocations: 56.27 kB / 0.4896 GB, free: 9.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1272, allocations: 0 / 0.4896 GB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001757/0.1274, allocations: 75.33 kB / 0.4897 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1274, allocations: 85.23 kB / 0.4898 GB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.1275, allocations: 89.86 kB / 0.4899 GB, free: 9.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1275, allocations: 25.7 kB / 0.4899 GB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.1276, allocations: 80.14 kB / 0.49 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1276, allocations: 4 kB / 0.49 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1276, allocations: 9.719 kB / 0.49 GB, free: 9.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1277, allocations: 314.8 kB / 0.4903 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.1277, allocations: 8.109 kB / 0.4903 GB, free: 9.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.1277, allocations: 4 kB / 0.4903 GB, free: 9.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.1278, allocations: 60.27 kB / 0.4904 GB, free: 9.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1278, allocations: 0 / 0.4904 GB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.466e-05/0.1279, allocations: 67.34 kB / 0.4904 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.1279, allocations: 33.64 kB / 0.4905 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1279, allocations: 7.922 kB / 0.4905 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1279, allocations: 0 / 0.4905 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.128, allocations: 0 / 0.4905 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.128, allocations: 8.094 kB / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.128, allocations: 0 / 0.4905 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.128, allocations: 0 / 0.4905 GB, free: 8.875 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 8.476e-05/0.1281, allocations: 143.5 kB / 0.4906 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1281, allocations: 3.938 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.164e-05/0.1281, allocations: 7.062 kB / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1281, allocations: 0 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1281, allocations: 0 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1281, allocations: 0 / 0.4906 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.7e-05/0.1282, allocations: 153.7 kB / 0.4908 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1282, allocations: 0 / 0.4908 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.1282, allocations: 0 / 0.4908 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1283, allocations: 3.938 kB / 0.4908 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1283, allocations: 0 / 0.4908 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1283, allocations: 0 / 0.4908 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1283, allocations: 0 / 0.4908 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1284, allocations: 98.67 kB / 0.4909 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.1284, allocations: 81.14 kB / 0.4909 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1284, allocations: 7.938 kB / 0.4909 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.1285, allocations: 0 / 0.4909 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.1285, allocations: 3.984 kB / 0.4909 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1285, allocations: 4 kB / 0.491 GB, free: 8.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.1285, allocations: 79.28 kB / 0.491 GB, free: 8.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1285, allocations: 0 / 0.491 GB, free: 8.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1288, allocations: 16 kB / 0.491 GB, free: 8.172 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.0005987/0.1294, allocations: 0.713 MB / 0.4917 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.87e-05/0.1295, allocations: 67.33 kB / 0.4918 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1295, allocations: 0 / 0.4918 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.1295, allocations: 55.41 kB / 0.4919 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1297, allocations: 0.7812 kB / 0.4919 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.13, allocations: 126.6 kB / 0.492 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1302, allocations: 0.669 MB / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.037e-06/0.1303, allocations: 0 / 0.4926 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1303, allocations: 15.56 kB / 0.4926 GB, free: 6.414 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1303, allocations: 0 / 0.4926 GB, free: 6.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1492, allocations: 1.488 MB / 0.4941 GB, free: 4.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.752, allocations: 0 / 0.4941 GB, free: 4.918 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