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.001734/0.001734, allocations: 118.8 kB / 17.13 MB, free: 5.941 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.002052/0.002052, allocations: 196.7 kB / 20.07 MB, free: 3.012 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.555/1.555, allocations: 207.6 MB / 230.5 MB, free: 4.055 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.3355/0.3355, allocations: 44.23 MB / 326.5 MB, free: 7.238 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.002159/0.002159, allocations: 67.91 kB / 462.1 MB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2557, allocations: 61 MB / 0.5109 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.00148/0.2572, allocations: 498 kB / 0.5114 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.2578, allocations: 296.5 kB / 0.5116 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.2578, allocations: 3.938 kB / 0.5116 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.2578, allocations: 8.906 kB / 0.5116 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.2578, allocations: 0 / 0.5116 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.2587, allocations: 89.97 kB / 0.5117 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.2587, allocations: 0.875 kB / 0.5117 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.2588, allocations: 5.172 kB / 0.5117 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.2588, allocations: 1.062 kB / 0.5117 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.151e-05/0.2588, allocations: 3.938 kB / 0.5117 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-06/0.2588, allocations: 5.141 kB / 0.5118 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.259, allocations: 112.8 kB / 0.5119 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.259, allocations: 1.375 kB / 0.5119 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.259, allocations: 0 / 0.5119 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2592, allocations: 90.25 kB / 0.5119 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2592, allocations: 0 / 0.5119 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2592, allocations: 0 / 0.5119 GB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2592, allocations: 1.156 kB / 0.5119 GB, free: 12.54 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.0002686/0.2594, allocations: 363.4 kB / 0.5123 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2595, allocations: 12.89 kB / 0.5123 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.2595, allocations: 37.19 kB / 0.5123 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.2595, allocations: 4.891 kB / 0.5123 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.65e-05/0.2596, allocations: 164.4 kB / 0.5125 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2596, allocations: 4.375 kB / 0.5125 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.2596, allocations: 1.625 kB / 0.5125 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.2597, allocations: 32.89 kB / 0.5125 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2597, allocations: 3.938 kB / 0.5125 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.2597, allocations: 0 / 0.5125 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2597, allocations: 2.656 kB / 0.5125 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.2597, allocations: 0 / 0.5125 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.2598, allocations: 148.8 kB / 0.5127 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.2599, allocations: 22.58 kB / 0.5127 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.2599, allocations: 8.734 kB / 0.5127 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2599, allocations: 0 / 0.5127 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2599, allocations: 60.2 kB / 0.5128 GB, free: 11.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.2599, allocations: 0 / 0.5128 GB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.2601, allocations: 66.67 kB / 0.5128 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2601, allocations: 77.11 kB / 0.5129 GB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.847e-05/0.2601, allocations: 97.92 kB / 0.513 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.2601, allocations: 29.7 kB / 0.513 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-06/0.2601, allocations: 83.3 kB / 0.5131 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2601, allocations: 0 / 0.5131 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.2602, allocations: 13.53 kB / 0.5131 GB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2602, allocations: 310.8 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.2602, allocations: 0 / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.2602, allocations: 3.938 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.2603, allocations: 71.28 kB / 0.5135 GB, free: 10.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2603, allocations: 0 / 0.5135 GB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.195e-05/0.2603, allocations: 63.98 kB / 0.5136 GB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2603, allocations: 29.52 kB / 0.5136 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2603, allocations: 15.72 kB / 0.5136 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2604, allocations: 0 / 0.5136 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.2604, allocations: 3.984 kB / 0.5136 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2604, allocations: 0 / 0.5136 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.2604, allocations: 0 / 0.5136 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.2604, allocations: 0 / 0.5136 GB, free: 10.63 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.498e-05/0.2604, allocations: 143.1 kB / 0.5137 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.2604, allocations: 0 / 0.5137 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.2605, allocations: 11.06 kB / 0.5137 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.2605, allocations: 0 / 0.5137 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2605, allocations: 7.625 kB / 0.5138 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2605, allocations: 0 / 0.5138 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.285e-05/0.2605, allocations: 145.7 kB / 0.5139 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2605, allocations: 0 / 0.5139 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2605, allocations: 0 / 0.5139 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2605, allocations: 4 kB / 0.5139 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2605, allocations: 7.344 kB / 0.5139 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2605, allocations: 0 / 0.5139 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2605, allocations: 0 / 0.5139 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.2606, allocations: 91.33 kB / 0.514 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.2606, allocations: 77.11 kB / 0.5141 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2607, allocations: 3.938 kB / 0.5141 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.2607, allocations: 0 / 0.5141 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.2607, allocations: 4.031 kB / 0.5141 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2607, allocations: 3.469 kB / 0.5141 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.442e-05/0.2607, allocations: 75.28 kB / 0.5141 GB, free: 9.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2607, allocations: 0 / 0.5141 GB, free: 9.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.2609, allocations: 33.83 kB / 0.5142 GB, free: 9.973 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.0007063/0.2616, allocations: 0.8013 MB / 0.515 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.917e-05/0.2617, allocations: 61.31 kB / 0.515 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2617, allocations: 0 / 0.515 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.2617, allocations: 54.16 kB / 0.5151 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.2619, allocations: 10.75 kB / 0.5151 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.2621, allocations: 133.9 kB / 0.5152 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.195e-05/0.2622, allocations: 0.6702 MB / 0.5159 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.991e-06/0.2622, allocations: 1.625 kB / 0.5159 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.2622, allocations: 7.438 kB / 0.5159 GB, free: 8.242 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2622, allocations: 0 / 0.5159 GB, free: 8.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2847, allocations: 1.829 MB / 0.5177 GB, free: 7.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.288, allocations: 9.906 kB / 0.5177 GB, free: 7.078 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 & /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_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.085995052009821]