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.001452/0.001452, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001579/0.001579, allocations: 220.6 kB / 23.01 MB, free: 5.004 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.379/1.379, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2149/0.2149, allocations: 44.24 MB / 330.3 MB, free: 9.531 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.002158/0.002158, allocations: 73.41 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1141, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001716/0.1158, allocations: 0.5059 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1172, allocations: 0.8663 MB / 0.5175 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.1172, allocations: 0 / 0.5175 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.1172, allocations: 0 / 0.5175 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1174, allocations: 7.984 kB / 0.5175 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1179, allocations: 56.92 kB / 0.5175 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.872e-05/0.118, allocations: 0 / 0.5175 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.118, allocations: 3.984 kB / 0.5175 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.118, allocations: 7.938 kB / 0.5175 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.1181, allocations: 4 kB / 0.5175 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.1181, allocations: 4 kB / 0.5175 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1183, allocations: 59.94 kB / 0.5176 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.1183, allocations: 3.938 kB / 0.5176 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.1183, allocations: 0 / 0.5176 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1184, allocations: 51.86 kB / 0.5177 GB, free: 5.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1184, allocations: 3.938 kB / 0.5177 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1184, allocations: 0 / 0.5177 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1184, allocations: 0 / 0.5177 GB, free: 5.789 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.0003403/0.1188, allocations: 287.9 kB / 0.5179 GB, free: 5.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1188, allocations: 12.03 kB / 0.5179 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.1189, allocations: 30.75 kB / 0.518 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.1189, allocations: 0.9375 kB / 0.518 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.119, allocations: 114.5 kB / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.119, allocations: 384 / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.119, allocations: 384 / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.1191, allocations: 34.2 kB / 0.5181 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1191, allocations: 3.938 kB / 0.5181 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.1191, allocations: 0 / 0.5181 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1191, allocations: 4 kB / 0.5181 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1191, allocations: 3.984 kB / 0.5181 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1192, allocations: 120.8 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.1193, allocations: 14.58 kB / 0.5183 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.1193, allocations: 12.89 kB / 0.5183 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.1193, allocations: 0 / 0.5183 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.1194, allocations: 60.27 kB / 0.5183 GB, free: 4.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1194, allocations: 0 / 0.5183 GB, free: 4.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001755/0.1195, allocations: 75.31 kB / 0.5184 GB, free: 4.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1196, allocations: 77.11 kB / 0.5185 GB, free: 4.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.1197, allocations: 93.86 kB / 0.5186 GB, free: 4.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1197, allocations: 25.7 kB / 0.5186 GB, free: 4.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1197, allocations: 80.14 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1198, allocations: 0 / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1198, allocations: 21.95 kB / 0.5187 GB, free: 4.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1199, allocations: 314.8 kB / 0.519 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.12, allocations: 3.938 kB / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.12, allocations: 0 / 0.519 GB, free: 4.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.12, allocations: 60.27 kB / 0.519 GB, free: 4.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.12, allocations: 0 / 0.519 GB, free: 4.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.107e-05/0.1201, allocations: 63.39 kB / 0.5191 GB, free: 4.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.1201, allocations: 41.64 kB / 0.5191 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1201, allocations: 4.094 kB / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1201, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1201, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1202, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.1202, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1202, allocations: 4 kB / 0.5191 GB, free: 4.012 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 9.299e-05/0.1203, allocations: 135.5 kB / 0.5193 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.1203, allocations: 11.86 kB / 0.5193 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.036e-05/0.1203, allocations: 10.94 kB / 0.5193 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1203, allocations: 4 kB / 0.5193 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1203, allocations: 4 kB / 0.5193 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1203, allocations: 0 / 0.5193 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1204, allocations: 116.7 kB / 0.5194 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1204, allocations: 0 / 0.5194 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.1204, allocations: 7.984 kB / 0.5194 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1204, allocations: 3.938 kB / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1204, allocations: 0 / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1204, allocations: 0 / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1204, allocations: 0 / 0.5194 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1205, allocations: 94.84 kB / 0.5195 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.1205, allocations: 3.984 kB / 0.5195 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1206, allocations: 11.92 kB / 0.5195 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.1206, allocations: 0 / 0.5195 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-06/0.1206, allocations: 0 / 0.5195 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1206, allocations: 0 / 0.5195 GB, free: 3.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.257e-05/0.1206, allocations: 79.22 kB / 0.5196 GB, free: 3.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1206, allocations: 4.125 kB / 0.5196 GB, free: 3.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1209, allocations: 19.94 kB / 0.5196 GB, free: 3.434 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.0007853/0.1216, allocations: 0.7151 MB / 0.5203 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1217, allocations: 59.41 kB / 0.5204 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1217, allocations: 0 / 0.5204 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.1218, allocations: 59.34 kB / 0.5204 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1219, allocations: 2.188 kB / 0.5204 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.1223, allocations: 130.6 kB / 0.5206 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1226, allocations: 0.6768 MB / 0.5212 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.827e-06/0.1226, allocations: 0 / 0.5212 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.1226, allocations: 7.438 kB / 0.5212 GB, free: 1.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1226, allocations: 0 / 0.5212 GB, free: 1.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.15, allocations: 1.61 MB / 0.5228 GB, free: 72 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.22, allocations: 3.984 kB / 0.5228 GB, free: 68 kB / 398.1 MB " [Timeout remaining time 649] (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: 13.930954461917281]