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.001605/0.001605, 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.00177/0.00177, allocations: 216.9 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.527/1.527, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2454/0.2454, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.002331/0.002331, allocations: 79.88 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 61.04 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00173/0.1187, allocations: 495 kB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1202, allocations: 0.8702 MB / 0.5175 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1202, allocations: 0 / 0.5175 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1202, allocations: 0 / 0.5175 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1204, allocations: 15.88 kB / 0.5175 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.121, allocations: 59.86 kB / 0.5175 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.1211, allocations: 3.938 kB / 0.5175 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1211, allocations: 0 / 0.5175 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.1211, allocations: 8 kB / 0.5175 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.1212, allocations: 0 / 0.5175 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-06/0.1212, allocations: 0 / 0.5175 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1213, allocations: 51.95 kB / 0.5176 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-06/0.1213, allocations: 0 / 0.5176 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1213, allocations: 7.984 kB / 0.5176 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1215, allocations: 51.8 kB / 0.5176 GB, free: 5.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1215, allocations: 4 kB / 0.5177 GB, free: 5.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1215, allocations: 0 / 0.5177 GB, free: 5.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.1215, allocations: 0 / 0.5177 GB, free: 5.625 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.0004156/0.122, allocations: 287.9 kB / 0.5179 GB, free: 5.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.122, allocations: 12.03 kB / 0.5179 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.122, allocations: 30.75 kB / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1221, allocations: 4.938 kB / 0.518 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1222, allocations: 106.5 kB / 0.5181 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1222, allocations: 384 / 0.5181 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1222, allocations: 384 / 0.5181 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1223, allocations: 63.91 kB / 0.5181 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1223, allocations: 3.938 kB / 0.5181 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1223, allocations: 0 / 0.5181 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1223, allocations: 3.984 kB / 0.5181 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.1224, allocations: 41.69 kB / 0.5182 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1225, allocations: 116.8 kB / 0.5183 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.1226, allocations: 44.22 kB / 0.5183 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.1226, allocations: 38.62 kB / 0.5184 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1226, allocations: 0 / 0.5184 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.1227, allocations: 60.25 kB / 0.5184 GB, free: 4.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1227, allocations: 0 / 0.5184 GB, free: 4.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.1229, allocations: 114.8 kB / 0.5185 GB, free: 4.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.123, allocations: 93.03 kB / 0.5186 GB, free: 4.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.1231, allocations: 93.98 kB / 0.5187 GB, free: 4.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1231, allocations: 25.7 kB / 0.5187 GB, free: 4.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.1231, allocations: 80.14 kB / 0.5188 GB, free: 4.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1231, allocations: 7.938 kB / 0.5188 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.1232, allocations: 9.719 kB / 0.5188 GB, free: 4.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1233, allocations: 310.8 kB / 0.5191 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1234, allocations: 33.7 kB / 0.5192 GB, free: 3.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.1234, allocations: 25.7 kB / 0.5192 GB, free: 3.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.1235, allocations: 64.25 kB / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1235, allocations: 192 / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.59e-05/0.1236, allocations: 93.11 kB / 0.5193 GB, free: 3.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.1236, allocations: 38.58 kB / 0.5194 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1236, allocations: 3.984 kB / 0.5194 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1236, allocations: 0 / 0.5194 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1236, allocations: 0 / 0.5194 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1237, allocations: 7.922 kB / 0.5194 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1237, allocations: 0 / 0.5194 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1237, allocations: 0 / 0.5194 GB, free: 3.547 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.0001129/0.1238, allocations: 135.5 kB / 0.5195 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1238, allocations: 7.969 kB / 0.5195 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.729e-06/0.1238, allocations: 3 kB / 0.5195 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1238, allocations: 4 kB / 0.5195 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1238, allocations: 0 / 0.5195 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1238, allocations: 0 / 0.5195 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1239, allocations: 124.7 kB / 0.5196 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1239, allocations: 0 / 0.5196 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-06/0.1239, allocations: 4 kB / 0.5197 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1239, allocations: 3.938 kB / 0.5197 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.124, allocations: 0 / 0.5197 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.124, allocations: 3.938 kB / 0.5197 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.124, allocations: 4 kB / 0.5197 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1241, allocations: 120.5 kB / 0.5198 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.1241, allocations: 4 kB / 0.5198 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1241, allocations: 3.938 kB / 0.5198 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1241, allocations: 0 / 0.5198 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.1241, allocations: 11.86 kB / 0.5198 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1241, allocations: 0 / 0.5198 GB, free: 3.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.1242, allocations: 79.28 kB / 0.5199 GB, free: 2.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 0 / 0.5199 GB, free: 2.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1244, allocations: 15.94 kB / 0.5199 GB, free: 2.945 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.0008841/0.1253, allocations: 0.7402 MB / 0.5206 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.1254, allocations: 114.8 kB / 0.5207 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1254, allocations: 8.031 kB / 0.5207 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.1255, allocations: 85.11 kB / 0.5208 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1256, allocations: 2.5 kB / 0.5208 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.1261, allocations: 144.2 kB / 0.521 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.793e-05/0.1261, allocations: 59.34 kB / 0.521 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.014e-05/0.1262, allocations: 0 / 0.521 GB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1262, allocations: 7.438 kB / 0.521 GB, free: 1.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1262, allocations: 0 / 0.521 GB, free: 1.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.1559, allocations: 2.021 MB / 0.523 GB, free: 15.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.51, allocations: 7.938 kB / 0.523 GB, free: 15.62 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 & 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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.52994191693142]