Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001695/0.001695, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001969/0.001969, allocations: 214.1 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8752/0.8752, allocations: 94.56 MB / 407 MB, free: 9.219 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 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.002639/0.002639, allocations: 86.66 kB / 0.5549 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1739, allocations: 73.06 MB / 0.6263 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04629/0.2202, allocations: 37.83 MB / 0.6632 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.2434, allocations: 15.2 MB / 0.6781 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.2453, allocations: 71.38 kB / 0.6782 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.248, allocations: 0.9561 MB / 0.6791 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.2531, allocations: 1.387 MB / 0.6804 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.257, allocations: 1.053 MB / 0.6815 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004142/0.2611, allocations: 1.953 MB / 0.6834 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.2619, allocations: 223.5 kB / 0.6836 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.2646, allocations: 1.078 MB / 0.6846 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.2663, allocations: 0.7113 MB / 0.6853 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003494/0.2666, allocations: 92 kB / 0.6854 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.2703, allocations: 0.8974 MB / 0.6863 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007356/0.2711, allocations: 334.5 kB / 0.6866 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.2733, allocations: 0.726 MB / 0.6873 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005917/0.2792, allocations: 2.12 MB / 0.6894 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2792, allocations: 0 / 0.6894 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2792, allocations: 0 / 0.6894 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.998e-05/0.2793, allocations: 0 / 0.6894 GB, free: 15.61 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.005484/0.2848, allocations: 2.034 MB / 0.6914 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.2848, allocations: 12.03 kB / 0.6914 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.2851, allocations: 127.1 kB / 0.6915 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.2856, allocations: 198.9 kB / 0.6917 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2884, allocations: 1.139 MB / 0.6928 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.2884, allocations: 66 kB / 0.6929 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2886, allocations: 83.94 kB / 0.693 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.2902, allocations: 0.8649 MB / 0.6938 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.2902, allocations: 0 / 0.6938 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/0.2902, allocations: 36 kB / 0.6938 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2903, allocations: 19.94 kB / 0.6939 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2917, allocations: 0.8198 MB / 0.6947 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.2971, allocations: 3.545 MB / 0.6981 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2982, allocations: 0.5796 MB / 0.6987 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.2988, allocations: 298.7 kB / 0.699 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00279/0.3016, allocations: 1.295 MB / 0.7002 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.3016, allocations: 43.22 kB / 0.7003 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 1.673e-06/0.3016, allocations: 0 / 0.7003 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002721/0.3044, allocations: 1.088 MB / 0.7013 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3044, allocations: 64 kB / 0.7014 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.3065, allocations: 1.341 MB / 0.7027 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.3066, allocations: 45.69 kB / 0.7028 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006374/0.3072, allocations: 0.6323 MB / 0.7034 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.3075, allocations: 261.7 kB / 0.7036 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3077, allocations: 146.5 kB / 0.7038 GB, free: 400 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3079, allocations: 330 kB / 0.7041 GB, free: 64 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.3084, allocations: 209.9 kB / 0.7043 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.3089, allocations: 318.2 kB / 0.7046 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.31, allocations: 0.5381 MB / 0.7051 GB, free: 14.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.31, allocations: 0 / 0.7051 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001679/0.3117, allocations: 0.8414 MB / 0.7059 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3117, allocations: 7.938 kB / 0.7059 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3117, allocations: 4 kB / 0.7059 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.3122, allocations: 105.8 kB / 0.706 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.3127, allocations: 135.8 kB / 0.7062 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.3157, allocations: 3.009 MB / 0.7091 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.3164, allocations: 67.5 kB / 0.7092 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.3165, allocations: 27.98 kB / 0.7092 GB, free: 10.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005936/0.3171, allocations: 329.7 kB / 0.7095 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.3173, allocations: 162.9 kB / 0.7097 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.3195, allocations: 1.138 MB / 0.7108 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.3195, allocations: 8 kB / 0.7108 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.3195, allocations: 3.938 kB / 0.7108 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.3196, allocations: 3.984 kB / 0.7108 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.323, allocations: 1.995 MB / 0.7127 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3231, allocations: 4 kB / 0.7127 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3235, allocations: 123.8 kB / 0.7129 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.324, allocations: 113.7 kB / 0.713 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.3241, allocations: 27.98 kB / 0.713 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.327, allocations: 3.009 MB / 0.7159 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.327, allocations: 0 / 0.7159 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.3294, allocations: 1.233 MB / 0.7171 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.3301, allocations: 276.6 kB / 0.7174 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.3302, allocations: 16 kB / 0.7174 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.3307, allocations: 23.98 kB / 0.7174 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3308, allocations: 64.55 kB / 0.7175 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.3309, allocations: 27.98 kB / 0.7175 GB, free: 1.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001489/0.3324, allocations: 0.9506 MB / 0.7185 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3324, allocations: 3.938 kB / 0.7185 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001205/0.3336, allocations: 431 kB / 0.7189 GB, free: 236 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004912/0.3385, allocations: 2.437 MB / 0.7213 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3403, allocations: 0.7994 MB / 0.722 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3403, allocations: 4.375 kB / 0.722 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3413, allocations: 0.5477 MB / 0.7226 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.3433, allocations: 405 kB / 0.723 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/0.3624, allocations: 9.175 MB / 0.7319 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.3639, allocations: 1.215 MB / 0.7331 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001286/0.3652, allocations: 254.2 kB / 0.7334 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/0.3664, allocations: 0.5578 MB / 0.7339 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.3664, allocations: 4 kB / 0.7339 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5156/0.882, allocations: 35.17 MB / 0.7682 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.62, allocations: 12.73 kB / 0.7683 GB, free: 110.5 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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: 19.75521516893059]