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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 216.4 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 73.61 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1259, allocations: 61.06 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001718/0.1276, allocations: 491.1 kB / 0.5166 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1292, allocations: 0.8702 MB / 0.5175 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.1292, allocations: 0 / 0.5175 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.1292, allocations: 0 / 0.5175 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1295, allocations: 15.92 kB / 0.5175 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.1301, allocations: 55.83 kB / 0.5175 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.1302, allocations: 0 / 0.5175 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.1302, allocations: 7.922 kB / 0.5175 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.089e-05/0.1302, allocations: 4 kB / 0.5175 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.1303, allocations: 0 / 0.5175 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.1303, allocations: 0 / 0.5175 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1305, allocations: 55.94 kB / 0.5176 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1305, allocations: 0 / 0.5176 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.1305, allocations: 4 kB / 0.5176 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1307, allocations: 51.81 kB / 0.5176 GB, free: 5.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1307, allocations: 0 / 0.5176 GB, free: 5.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1307, allocations: 4 kB / 0.5176 GB, free: 5.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1307, allocations: 0 / 0.5176 GB, free: 5.641 MB / 398.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.0004459/0.1311, allocations: 287.9 kB / 0.5179 GB, free: 5.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1312, allocations: 8.031 kB / 0.5179 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1312, allocations: 30.75 kB / 0.518 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.1312, allocations: 4.938 kB / 0.518 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1313, allocations: 110.5 kB / 0.5181 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1313, allocations: 4.359 kB / 0.5181 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.1314, allocations: 384 / 0.5181 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1315, allocations: 63.97 kB / 0.5181 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1315, allocations: 7.875 kB / 0.5181 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-06/0.1315, allocations: 0 / 0.5181 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1315, allocations: 0 / 0.5181 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.1315, allocations: 33.7 kB / 0.5182 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.1317, allocations: 116.8 kB / 0.5183 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.418e-05/0.1317, allocations: 48.25 kB / 0.5183 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.1318, allocations: 34.56 kB / 0.5184 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1318, allocations: 4.062 kB / 0.5184 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.1318, allocations: 56.27 kB / 0.5184 GB, free: 4.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1318, allocations: 4 kB / 0.5184 GB, free: 4.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.132, allocations: 118.7 kB / 0.5185 GB, free: 4.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.1321, allocations: 81.11 kB / 0.5186 GB, free: 4.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.1322, allocations: 93.86 kB / 0.5187 GB, free: 4.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1322, allocations: 29.69 kB / 0.5187 GB, free: 4.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.1322, allocations: 84.08 kB / 0.5188 GB, free: 4.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1322, allocations: 0 / 0.5188 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1323, allocations: 17.66 kB / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1324, allocations: 310.8 kB / 0.5191 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.1324, allocations: 37.95 kB / 0.5192 GB, free: 3.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.1325, allocations: 25.7 kB / 0.5192 GB, free: 3.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.1325, allocations: 60.27 kB / 0.5192 GB, free: 3.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1325, allocations: 0 / 0.5192 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.805e-05/0.1326, allocations: 89.09 kB / 0.5193 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.1327, allocations: 38.58 kB / 0.5194 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1327, allocations: 4 kB / 0.5194 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1327, allocations: 0 / 0.5194 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1327, allocations: 0 / 0.5194 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1327, allocations: 4.031 kB / 0.5194 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1327, allocations: 4 kB / 0.5194 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1327, allocations: 7.969 kB / 0.5194 GB, free: 3.559 MB / 398.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 0.0001008/0.1328, allocations: 135.5 kB / 0.5195 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1328, allocations: 3.938 kB / 0.5195 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-06/0.1328, allocations: 3 kB / 0.5195 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1328, allocations: 8 kB / 0.5195 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1328, allocations: 0 / 0.5195 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1328, allocations: 0 / 0.5195 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.1329, allocations: 124.7 kB / 0.5197 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1329, allocations: 0 / 0.5197 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.1329, allocations: 4 kB / 0.5197 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1329, allocations: 7.938 kB / 0.5197 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.1329, allocations: 0 / 0.5197 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1329, allocations: 0 / 0.5197 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1329, allocations: 3.938 kB / 0.5197 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1331, allocations: 120.5 kB / 0.5198 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-06/0.1331, allocations: 0 / 0.5198 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1331, allocations: 7.938 kB / 0.5198 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.1331, allocations: 3.938 kB / 0.5198 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-06/0.1331, allocations: 0 / 0.5198 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.1331, allocations: 4.031 kB / 0.5198 GB, free: 3.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.409e-05/0.1332, allocations: 79.28 kB / 0.5199 GB, free: 2.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1332, allocations: 0 / 0.5199 GB, free: 2.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1334, allocations: 23.86 kB / 0.5199 GB, free: 2.953 MB / 398.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.000783/0.1342, allocations: 0.7439 MB / 0.5206 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1343, allocations: 118.7 kB / 0.5207 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1343, allocations: 0 / 0.5207 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.1344, allocations: 85.11 kB / 0.5208 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1345, allocations: 2.5 kB / 0.5208 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.1349, allocations: 144.2 kB / 0.521 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.1349, allocations: 55.36 kB / 0.521 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.797e-06/0.135, allocations: 4.125 kB / 0.521 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.135, allocations: 11.42 kB / 0.521 GB, free: 1.664 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.135, allocations: 0 / 0.521 GB, free: 1.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.1647, allocations: 2.018 MB / 0.523 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.44, allocations: 7.938 kB / 0.523 GB, free: 15.63 MB / 414.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.235670691821724]