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.00154/0.00154, 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.001988/0.001988, allocations: 216.8 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.489/1.489, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2322/0.2322, allocations: 44.26 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.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.002616/0.002616, allocations: 67.91 kB / 467.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1159, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001829/0.1177, allocations: 491 kB / 0.5166 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.1186, allocations: 304.8 kB / 0.5169 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.1186, allocations: 4 kB / 0.5169 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.1186, allocations: 0 / 0.5169 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.1186, allocations: 0 / 0.5169 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009166/0.1195, allocations: 111.6 kB / 0.517 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.1196, allocations: 0 / 0.517 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1196, allocations: 8 kB / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.1196, allocations: 0 / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.1196, allocations: 0 / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.1196, allocations: 0 / 0.517 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1199, allocations: 103.9 kB / 0.5171 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.1199, allocations: 0 / 0.5171 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.1199, allocations: 11.92 kB / 0.5171 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1201, allocations: 91.75 kB / 0.5172 GB, free: 6.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1201, allocations: 0 / 0.5172 GB, free: 6.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1201, allocations: 0 / 0.5172 GB, free: 6.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1201, allocations: 3.938 kB / 0.5172 GB, free: 6.105 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.0003486/0.1205, allocations: 284 kB / 0.5175 GB, free: 5.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1205, allocations: 12.03 kB / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1206, allocations: 30.75 kB / 0.5175 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1206, allocations: 4.891 kB / 0.5175 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1207, allocations: 114.5 kB / 0.5176 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1207, allocations: 384 / 0.5176 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.1207, allocations: 8.375 kB / 0.5176 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1208, allocations: 51.97 kB / 0.5177 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1208, allocations: 3.938 kB / 0.5177 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1209, allocations: 0 / 0.5177 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1209, allocations: 4 kB / 0.5177 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.1209, allocations: 25.7 kB / 0.5177 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1211, allocations: 120.8 kB / 0.5178 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.1211, allocations: 48.25 kB / 0.5179 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.1212, allocations: 30.56 kB / 0.5179 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1212, allocations: 4.062 kB / 0.5179 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.1212, allocations: 60.27 kB / 0.518 GB, free: 5.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1212, allocations: 0 / 0.518 GB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.1214, allocations: 122.7 kB / 0.5181 GB, free: 5.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.1215, allocations: 77.11 kB / 0.5182 GB, free: 4.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.1215, allocations: 89.86 kB / 0.5183 GB, free: 4.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1216, allocations: 29.7 kB / 0.5183 GB, free: 4.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.1216, allocations: 84.08 kB / 0.5184 GB, free: 4.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.1216, allocations: 0 / 0.5184 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1217, allocations: 17.66 kB / 0.5184 GB, free: 4.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1219, allocations: 318.8 kB / 0.5187 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.1219, allocations: 29.83 kB / 0.5187 GB, free: 4.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.1219, allocations: 25.7 kB / 0.5187 GB, free: 4.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.122, allocations: 60.27 kB / 0.5188 GB, free: 4.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.122, allocations: 0 / 0.5188 GB, free: 4.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.825e-05/0.1221, allocations: 93.09 kB / 0.5189 GB, free: 4.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.1221, allocations: 34.64 kB / 0.5189 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1221, allocations: 3.938 kB / 0.5189 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1221, allocations: 0 / 0.5189 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.1221, allocations: 0 / 0.5189 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1221, allocations: 8.031 kB / 0.5189 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.1222, allocations: 0 / 0.5189 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1222, allocations: 3.938 kB / 0.5189 GB, free: 4.043 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.0001094/0.1223, allocations: 135.5 kB / 0.5191 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1223, allocations: 7.984 kB / 0.5191 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.1223, allocations: 10.94 kB / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1223, allocations: 0 / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1223, allocations: 0 / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1223, allocations: 0 / 0.5191 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1224, allocations: 116.8 kB / 0.5192 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1224, allocations: 0 / 0.5192 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.1224, allocations: 8 kB / 0.5192 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1224, allocations: 0 / 0.5192 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1224, allocations: 3.938 kB / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1224, allocations: 3.984 kB / 0.5192 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1224, allocations: 3.984 kB / 0.5192 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1226, allocations: 112.5 kB / 0.5193 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.1226, allocations: 3.984 kB / 0.5193 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1226, allocations: 7.938 kB / 0.5193 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.1226, allocations: 3.938 kB / 0.5193 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.1226, allocations: 0 / 0.5193 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1226, allocations: 4.031 kB / 0.5193 GB, free: 3.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.1226, allocations: 75.28 kB / 0.5194 GB, free: 3.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1226, allocations: 0 / 0.5194 GB, free: 3.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1229, allocations: 39.81 kB / 0.5194 GB, free: 3.43 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.001058/0.124, allocations: 0.8308 MB / 0.5203 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1241, allocations: 126.7 kB / 0.5204 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1241, allocations: 0 / 0.5204 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.1242, allocations: 81.11 kB / 0.5205 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1243, allocations: 0 / 0.5205 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.1246, allocations: 148.2 kB / 0.5206 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.1247, allocations: 55.36 kB / 0.5206 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.777e-06/0.1247, allocations: 4 kB / 0.5207 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.1247, allocations: 7.438 kB / 0.5207 GB, free: 2.062 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1247, allocations: 0 / 0.5207 GB, free: 2.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1532, allocations: 2.35 MB / 0.523 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.33, allocations: 3.938 kB / 0.523 GB, free: 15.7 MB / 414.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_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_TestStreams.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStreams_res.csv","/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.354138018097728]