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.001863/0.001863, 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.002168/0.002168, 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.548/1.548, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.231/0.231, allocations: 44.24 MB / 330.3 MB, free: 9.605 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.002343/0.002343, allocations: 71.89 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001776/0.1353, allocations: 495 kB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.136, allocations: 308.8 kB / 0.5169 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.1361, allocations: 4 kB / 0.5169 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.1361, allocations: 4 kB / 0.5169 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.189e-06/0.1361, allocations: 0 / 0.5169 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.1369, allocations: 99.66 kB / 0.517 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.137, allocations: 0 / 0.517 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.137, allocations: 3.984 kB / 0.517 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.137, allocations: 7.984 kB / 0.517 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.137, allocations: 0 / 0.517 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.137, allocations: 0 / 0.517 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.1373, allocations: 107.9 kB / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/0.1373, allocations: 4 kB / 0.5171 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1373, allocations: 7.938 kB / 0.5171 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1375, allocations: 95.73 kB / 0.5172 GB, free: 6.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1375, allocations: 4 kB / 0.5172 GB, free: 6.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1375, allocations: 0 / 0.5172 GB, free: 6.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1375, allocations: 0 / 0.5172 GB, free: 6.242 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.0003413/0.1378, allocations: 284 kB / 0.5175 GB, free: 5.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1379, allocations: 11.97 kB / 0.5175 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.1379, allocations: 30.75 kB / 0.5175 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1379, allocations: 4.891 kB / 0.5175 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.138, allocations: 110.5 kB / 0.5176 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.138, allocations: 4.375 kB / 0.5176 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.138, allocations: 4.312 kB / 0.5176 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.1381, allocations: 34.25 kB / 0.5177 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.1381, allocations: 3.938 kB / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1381, allocations: 0 / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1381, allocations: 0 / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.1382, allocations: 0 / 0.5177 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.1383, allocations: 116.8 kB / 0.5178 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.1383, allocations: 26.52 kB / 0.5178 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.1384, allocations: 8.953 kB / 0.5178 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.1384, allocations: 0 / 0.5178 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.1384, allocations: 60.25 kB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1384, allocations: 0 / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000186/0.1386, allocations: 67.28 kB / 0.5179 GB, free: 5.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1387, allocations: 77.11 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.997e-05/0.1387, allocations: 93.98 kB / 0.5181 GB, free: 5.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1387, allocations: 29.7 kB / 0.5181 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1388, allocations: 84.12 kB / 0.5182 GB, free: 5.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1388, allocations: 4 kB / 0.5182 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1388, allocations: 9.719 kB / 0.5182 GB, free: 4.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.139, allocations: 310.8 kB / 0.5185 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.139, allocations: 7.938 kB / 0.5185 GB, free: 4.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.139, allocations: 0 / 0.5185 GB, free: 4.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.139, allocations: 68.33 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.139, allocations: 0 / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.749e-05/0.1391, allocations: 63.33 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.1392, allocations: 33.7 kB / 0.5187 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1392, allocations: 3.938 kB / 0.5187 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1392, allocations: 0 / 0.5187 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1392, allocations: 0 / 0.5187 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1392, allocations: 0 / 0.5187 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.1392, allocations: 0 / 0.5187 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1392, allocations: 4 kB / 0.5187 GB, free: 4.473 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.111e-05/0.1393, allocations: 139.6 kB / 0.5188 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1393, allocations: 0 / 0.5188 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.1393, allocations: 10.94 kB / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1393, allocations: 0 / 0.5188 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1393, allocations: 3.938 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1393, allocations: 0 / 0.5189 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.1394, allocations: 116.8 kB / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1394, allocations: 0 / 0.519 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1394, allocations: 4 kB / 0.519 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1394, allocations: 7.984 kB / 0.519 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1394, allocations: 7.938 kB / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1394, allocations: 0 / 0.519 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1394, allocations: 3.984 kB / 0.519 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1395, allocations: 90.78 kB / 0.5191 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.1395, allocations: 3.984 kB / 0.5191 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1396, allocations: 3.938 kB / 0.5191 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.1396, allocations: 4 kB / 0.5191 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.1396, allocations: 4.031 kB / 0.5191 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1396, allocations: 3.984 kB / 0.5191 GB, free: 3.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.1396, allocations: 75.28 kB / 0.5192 GB, free: 3.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1396, allocations: 0 / 0.5192 GB, free: 3.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1399, allocations: 35.88 kB / 0.5192 GB, free: 3.887 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.0009264/0.1408, allocations: 0.7954 MB / 0.52 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.1409, allocations: 59.34 kB / 0.52 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1409, allocations: 0 / 0.52 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.1409, allocations: 59.39 kB / 0.5201 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.1411, allocations: 4 kB / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1414, allocations: 130.6 kB / 0.5202 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1417, allocations: 0.669 MB / 0.5209 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.821e-06/0.1417, allocations: 0 / 0.5209 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.1417, allocations: 11.38 kB / 0.5209 GB, free: 2.066 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1417, allocations: 4 kB / 0.5209 GB, free: 2.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.1693, allocations: 1.941 MB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.13, allocations: 7.984 kB / 0.5228 GB, free: 104 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 & 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.25544999599515]