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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 108.5 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 191.7 kB / 20.02 MB, free: 3.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.53/1.53, allocations: 205.1 MB / 227.9 MB, free: 4.344 MB / 174.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.3679/0.3679, allocations: 43.51 MB / 320.8 MB, free: 9.066 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 72.41 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2885, allocations: 57.78 MB / 0.4959 GB, free: 19.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.001455/0.29, allocations: 497 kB / 0.4963 GB, free: 18.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.2907, allocations: 291.2 kB / 0.4966 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.2907, allocations: 4 kB / 0.4966 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.2907, allocations: 0 / 0.4966 GB, free: 18.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-06/0.2908, allocations: 3.938 kB / 0.4966 GB, free: 18.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.2916, allocations: 96.39 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.2916, allocations: 1.469 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.2917, allocations: 3.984 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.2917, allocations: 1.594 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.235e-05/0.2917, allocations: 3.938 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-06/0.2917, allocations: 1.469 kB / 0.4967 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.2919, allocations: 112.5 kB / 0.4968 GB, free: 18.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.2919, allocations: 5 kB / 0.4968 GB, free: 18.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.292, allocations: 1.156 kB / 0.4968 GB, free: 18.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.2921, allocations: 82.97 kB / 0.4969 GB, free: 18.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2921, allocations: 0 / 0.4969 GB, free: 18.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2921, allocations: 3.938 kB / 0.4969 GB, free: 18.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2922, allocations: 0 / 0.4969 GB, free: 18.56 MB / 382.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.0002738/0.2924, allocations: 368.1 kB / 0.4973 GB, free: 18.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2925, allocations: 12.55 kB / 0.4973 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.2925, allocations: 32 kB / 0.4973 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2925, allocations: 8.875 kB / 0.4973 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.303e-05/0.2926, allocations: 164.4 kB / 0.4975 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.2926, allocations: 5.734 kB / 0.4975 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2926, allocations: 1.594 kB / 0.4975 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.681e-05/0.2927, allocations: 39.84 kB / 0.4975 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2927, allocations: 3.938 kB / 0.4975 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.2927, allocations: 1.469 kB / 0.4975 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2927, allocations: 0 / 0.4975 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.2928, allocations: 1.438 kB / 0.4975 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.397e-05/0.2929, allocations: 150.8 kB / 0.4977 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.2929, allocations: 17.02 kB / 0.4977 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.2929, allocations: 6.359 kB / 0.4977 GB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.2929, allocations: 0 / 0.4977 GB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.293, allocations: 65.7 kB / 0.4978 GB, free: 17.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.293, allocations: 0 / 0.4978 GB, free: 17.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.2931, allocations: 67.2 kB / 0.4978 GB, free: 17.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2932, allocations: 81.23 kB / 0.4979 GB, free: 17.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.008e-05/0.2932, allocations: 91.27 kB / 0.498 GB, free: 17.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.2932, allocations: 25.7 kB / 0.498 GB, free: 17.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.072e-05/0.2932, allocations: 80.14 kB / 0.4981 GB, free: 17.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2932, allocations: 1.156 kB / 0.4981 GB, free: 17.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.2933, allocations: 14.94 kB / 0.4981 GB, free: 17.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.2933, allocations: 312.2 kB / 0.4984 GB, free: 16.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.2933, allocations: 1.344 kB / 0.4984 GB, free: 16.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.2933, allocations: 7.984 kB / 0.4984 GB, free: 16.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.2934, allocations: 68.2 kB / 0.4985 GB, free: 16.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2934, allocations: 0 / 0.4985 GB, free: 16.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.152e-05/0.2935, allocations: 62.5 kB / 0.4985 GB, free: 16.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.2935, allocations: 30.92 kB / 0.4986 GB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2935, allocations: 13.17 kB / 0.4986 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2935, allocations: 0 / 0.4986 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2935, allocations: 0 / 0.4986 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2935, allocations: 1.531 kB / 0.4986 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.2936, allocations: 4.094 kB / 0.4986 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2936, allocations: 1.406 kB / 0.4986 GB, free: 16.64 MB / 382.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 5.102e-05/0.2936, allocations: 133 kB / 0.4987 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.2936, allocations: 1.562 kB / 0.4987 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.051e-05/0.2937, allocations: 11 kB / 0.4987 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2937, allocations: 0 / 0.4987 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2937, allocations: 1.375 kB / 0.4987 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2937, allocations: 0 / 0.4987 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.748e-05/0.2937, allocations: 151.1 kB / 0.4989 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2937, allocations: 4 kB / 0.4989 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.2937, allocations: 1.406 kB / 0.4989 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2938, allocations: 0 / 0.4989 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2938, allocations: 5.219 kB / 0.4989 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2938, allocations: 0 / 0.4989 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2938, allocations: 0 / 0.4989 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.186e-05/0.2939, allocations: 93.73 kB / 0.499 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.2939, allocations: 78.27 kB / 0.4991 GB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2939, allocations: 9.094 kB / 0.4991 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.2939, allocations: 0 / 0.4991 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.2939, allocations: 1.375 kB / 0.4991 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2939, allocations: 5.516 kB / 0.4991 GB, free: 16.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.324e-05/0.294, allocations: 75.28 kB / 0.4991 GB, free: 16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.294, allocations: 0 / 0.4991 GB, free: 16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.2942, allocations: 27.31 kB / 0.4992 GB, free: 15.99 MB / 382.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.0007133/0.2949, allocations: 0.8084 MB / 0.5 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.107e-05/0.295, allocations: 59.59 kB / 0.5 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.295, allocations: 1.375 kB / 0.5 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.2951, allocations: 58.41 kB / 0.5001 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.2952, allocations: 1.438 kB / 0.5001 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.2954, allocations: 129.8 kB / 0.5002 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.2955, allocations: 0.6744 MB / 0.5009 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.69e-06/0.2956, allocations: 0 / 0.5009 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-06/0.2956, allocations: 8.812 kB / 0.5009 GB, free: 14.24 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2956, allocations: 0 / 0.5009 GB, free: 14.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.3177, allocations: 1.822 MB / 0.5026 GB, free: 13.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.223, allocations: 13.02 kB / 0.5027 GB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestStreams/TestStreams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.296663175104186]