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.001238/0.001238, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.001384/0.001384, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.914 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3362/0.3362, allocations: 43.49 MB / 313.6 MB, free: 8.391 MB / 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.001666/0.001666, allocations: 63.91 kB / 382.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1146, allocations: 57.78 MB / 440.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002145/0.1168, allocations: 0.5541 MB / 440.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1183, allocations: 0.7573 MB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.1183, allocations: 4 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.1183, allocations: 3.938 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1186, allocations: 4 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.1195, allocations: 47.88 kB / 441.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.1196, allocations: 8 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1196, allocations: 3.984 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.1196, allocations: 0 / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1198, allocations: 7.938 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1198, allocations: 0 / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.12, allocations: 55.2 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.12, allocations: 7.969 kB / 441.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.12, allocations: 4 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1202, allocations: 47.94 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1202, allocations: 0 / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1202, allocations: 0 / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1202, allocations: 0 / 441.6 MB, free: 13.21 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.0005623/0.1208, allocations: 361.1 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1208, allocations: 15.83 kB / 442 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1209, allocations: 34.75 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1209, allocations: 0.9375 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1211, allocations: 164.4 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1211, allocations: 384 / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1211, allocations: 384 / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.621e-05/0.1212, allocations: 34.25 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1212, allocations: 3.938 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.1212, allocations: 0 / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1212, allocations: 3.984 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.1213, allocations: 11.94 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1214, allocations: 146 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.1215, allocations: 26.55 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.1215, allocations: 8.844 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.1215, allocations: 0 / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.1216, allocations: 56.27 kB / 442.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1216, allocations: 0 / 442.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.1218, allocations: 71.34 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1219, allocations: 85.23 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.122, allocations: 93.84 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.122, allocations: 25.7 kB / 442.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.122, allocations: 80.14 kB / 442.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1221, allocations: 3.938 kB / 442.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1221, allocations: 17.72 kB / 442.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1222, allocations: 310.8 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.1222, allocations: 0 / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-06/0.1223, allocations: 8.125 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.1223, allocations: 64.25 kB / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1223, allocations: 0 / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.861e-05/0.1224, allocations: 67.34 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.1224, allocations: 37.58 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1225, allocations: 0 / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1225, allocations: 0 / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1225, allocations: 0 / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1225, allocations: 0 / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.1225, allocations: 8.094 kB / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1225, allocations: 0 / 443.3 MB, free: 11.22 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.553e-05/0.1226, allocations: 139.5 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1226, allocations: 7.938 kB / 443.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.1226, allocations: 3.125 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1227, allocations: 0 / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1227, allocations: 0 / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1227, allocations: 0 / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1228, allocations: 153.7 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1228, allocations: 4 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1228, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1228, allocations: 3.938 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1228, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1228, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1228, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.1229, allocations: 98.67 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.123, allocations: 77.11 kB / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.123, allocations: 15.91 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.123, allocations: 0 / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.1231, allocations: 0 / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1231, allocations: 4 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.1231, allocations: 79.28 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1231, allocations: 0 / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1233, allocations: 19.98 kB / 443.9 MB, free: 10.52 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.0006695/0.124, allocations: 0.7218 MB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.1241, allocations: 59.34 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1241, allocations: 0 / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.1242, allocations: 59.39 kB / 444.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1243, allocations: 0 / 444.7 MB, free: 9.633 MB / 382.1 MB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/ReadStreamTestFile.txt") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1247, allocations: 126.6 kB / 444.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.125, allocations: 0.669 MB / 445.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.125, allocations: 4.125 kB / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.1251, allocations: 7.438 kB / 445.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1251, allocations: 4 kB / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2401/0.3651, allocations: 1.389 MB / 446.9 MB, free: 7.387 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.3654, allocations: 225.7 kB / 447.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.201, allocations: 7.875 kB / 447.2 MB, free: 7.125 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","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches