Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.001314/0.001314, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.002369/0.002369, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.496/1.496, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.2254/0.2254, allocations: 44.24 MB / 330.3 MB, free: 9.598 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.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams",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.002449/0.002449, allocations: 79.89 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1109, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001726/0.1127, allocations: 495.1 kB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.1134, allocations: 312.8 kB / 0.5169 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1135, allocations: 0 / 0.5169 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.1135, allocations: 7.938 kB / 0.5169 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1135, allocations: 0 / 0.5169 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.1143, allocations: 83.78 kB / 0.517 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.1144, allocations: 4 kB / 0.517 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.1144, allocations: 3.984 kB / 0.517 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.1145, allocations: 4 kB / 0.517 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.1145, allocations: 3.984 kB / 0.517 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.1145, allocations: 3.938 kB / 0.517 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.1147, allocations: 111.9 kB / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-06/0.1147, allocations: 0 / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.1147, allocations: 0 / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1149, allocations: 99.69 kB / 0.5172 GB, free: 6.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1149, allocations: 0 / 0.5172 GB, free: 6.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1149, allocations: 0 / 0.5172 GB, free: 6.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1149, allocations: 0 / 0.5172 GB, free: 6.254 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.0003515/0.1153, allocations: 292 kB / 0.5175 GB, free: 5.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1153, allocations: 12.03 kB / 0.5175 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.1154, allocations: 30.75 kB / 0.5175 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1154, allocations: 4.891 kB / 0.5175 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.1155, allocations: 102.5 kB / 0.5176 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1155, allocations: 384 / 0.5176 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.1155, allocations: 12.31 kB / 0.5176 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.1156, allocations: 38.12 kB / 0.5177 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1156, allocations: 3.938 kB / 0.5177 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.1156, allocations: 0 / 0.5177 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1156, allocations: 4 kB / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.1156, allocations: 0 / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1158, allocations: 116.8 kB / 0.5178 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.1158, allocations: 22.61 kB / 0.5178 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.1158, allocations: 4.859 kB / 0.5178 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1158, allocations: 3.938 kB / 0.5178 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.482e-05/0.1159, allocations: 60.25 kB / 0.5179 GB, free: 5.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.1159, allocations: 4.062 kB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001938/0.1161, allocations: 63.34 kB / 0.5179 GB, free: 5.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.1162, allocations: 81.11 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.1162, allocations: 89.98 kB / 0.5181 GB, free: 5.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1163, allocations: 29.7 kB / 0.5181 GB, free: 5.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.1163, allocations: 84.12 kB / 0.5182 GB, free: 5.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1163, allocations: 0 / 0.5182 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.1164, allocations: 13.72 kB / 0.5182 GB, free: 5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1165, allocations: 310.8 kB / 0.5185 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.1165, allocations: 4 kB / 0.5185 GB, free: 4.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.1165, allocations: 3.938 kB / 0.5185 GB, free: 4.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.1166, allocations: 68.33 kB / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1166, allocations: 0 / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.291e-05/0.1167, allocations: 63.39 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.1167, allocations: 29.7 kB / 0.5187 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1167, allocations: 3.938 kB / 0.5187 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1167, allocations: 4 kB / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1167, allocations: 0 / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1168, allocations: 0 / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1168, allocations: 0 / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1168, allocations: 0 / 0.5187 GB, free: 4.48 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.0001164/0.1169, allocations: 147.6 kB / 0.5188 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1169, allocations: 0 / 0.5188 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1169, allocations: 10.88 kB / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1169, allocations: 0 / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1169, allocations: 0 / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1169, allocations: 3.938 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.117, allocations: 116.8 kB / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.117, allocations: 0 / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.117, allocations: 0 / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.117, allocations: 7.984 kB / 0.519 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1171, allocations: 7.875 kB / 0.519 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1171, allocations: 4 kB / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1171, allocations: 0 / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1172, allocations: 82.84 kB / 0.5191 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.1172, allocations: 7.984 kB / 0.5191 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1172, allocations: 3.938 kB / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/0.1172, allocations: 0 / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.1172, allocations: 8.016 kB / 0.5191 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1172, allocations: 0 / 0.5191 GB, free: 4.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.1173, allocations: 83.28 kB / 0.5192 GB, free: 3.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1173, allocations: 0 / 0.5192 GB, free: 3.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.1176, allocations: 35.81 kB / 0.5192 GB, free: 3.891 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.001069/0.1186, allocations: 0.7952 MB / 0.52 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1188, allocations: 55.41 kB / 0.52 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1188, allocations: 0 / 0.52 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.1188, allocations: 63.33 kB / 0.5201 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.119, allocations: 0 / 0.5201 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.1193, allocations: 130.6 kB / 0.5202 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1196, allocations: 0.6729 MB / 0.5209 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.462e-06/0.1196, allocations: 0 / 0.5209 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1196, allocations: 7.438 kB / 0.5209 GB, free: 2.074 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1196, allocations: 0 / 0.5209 GB, free: 2.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1499, allocations: 1.941 MB / 0.5228 GB, free: 124 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.2, allocations: 8.062 kB / 0.5228 GB, free: 116 kB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.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.023444349877536]