Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001583/0.001583, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001784/0.001784, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.012/1.012, allocations: 100.9 MB / 413.3 MB, free: 2.832 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_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.002705/0.002705, allocations: 81.94 kB / 0.5641 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2071, allocations: 74.61 MB / 0.6369 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04621/0.2533, allocations: 34.2 MB / 0.6703 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02407/0.2773, allocations: 13.81 MB / 0.6838 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.2797, allocations: 67.38 kB / 0.6839 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.283, allocations: 0.8783 MB / 0.6847 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005903/0.2889, allocations: 1.371 MB / 0.6861 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.2935, allocations: 1.022 MB / 0.6871 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004355/0.2979, allocations: 1.957 MB / 0.689 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/0.2988, allocations: 211.5 kB / 0.6892 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.3018, allocations: 1.086 MB / 0.6903 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.3039, allocations: 0.6449 MB / 0.6909 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.3044, allocations: 92 kB / 0.691 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.308, allocations: 0.796 MB / 0.6917 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005891/0.3086, allocations: 334.5 kB / 0.6921 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.3098, allocations: 0.5591 MB / 0.6926 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.315, allocations: 2.112 MB / 0.6947 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.315, allocations: 0 / 0.6947 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.186e-06/0.315, allocations: 0 / 0.6947 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.3151, allocations: 0 / 0.6947 GB, free: 11.11 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.004067/0.3192, allocations: 2.034 MB / 0.6967 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.3192, allocations: 13.47 kB / 0.6967 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.3194, allocations: 123.1 kB / 0.6968 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005028/0.3199, allocations: 222.8 kB / 0.697 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.3226, allocations: 1.127 MB / 0.6981 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.3226, allocations: 61.94 kB / 0.6982 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3228, allocations: 84 kB / 0.6982 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3244, allocations: 0.8956 MB / 0.6991 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3244, allocations: 0 / 0.6991 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.3245, allocations: 36 kB / 0.6992 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.3245, allocations: 27.88 kB / 0.6992 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.326, allocations: 0.8003 MB / 0.7 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/0.3306, allocations: 2.33 MB / 0.7022 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3318, allocations: 0.605 MB / 0.7028 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.3323, allocations: 290.7 kB / 0.7031 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/0.3349, allocations: 1.144 MB / 0.7042 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.3349, allocations: 47.16 kB / 0.7043 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.3349, allocations: 0 / 0.7043 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002602/0.3376, allocations: 1.065 MB / 0.7053 GB, free: 15.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3376, allocations: 64 kB / 0.7054 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3395, allocations: 1.348 MB / 0.7067 GB, free: 14.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.3396, allocations: 41.7 kB / 0.7067 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.3402, allocations: 0.6284 MB / 0.7073 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.3405, allocations: 269.7 kB / 0.7076 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.3407, allocations: 142.5 kB / 0.7077 GB, free: 13.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3409, allocations: 338 kB / 0.7081 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.3413, allocations: 205.9 kB / 0.7082 GB, free: 12.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.342, allocations: 367.3 kB / 0.7086 GB, free: 12.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.343, allocations: 0.5398 MB / 0.7091 GB, free: 11.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.343, allocations: 0 / 0.7091 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001719/0.3447, allocations: 0.8258 MB / 0.7099 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.3448, allocations: 7.938 kB / 0.7099 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3448, allocations: 4 kB / 0.7099 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3453, allocations: 109.6 kB / 0.71 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.3458, allocations: 136 kB / 0.7102 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.3492, allocations: 2.981 MB / 0.7131 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.3499, allocations: 71.5 kB / 0.7132 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.35, allocations: 32.11 kB / 0.7132 GB, free: 7.539 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0006728/0.3507, allocations: 325.7 kB / 0.7135 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.351, allocations: 166.9 kB / 0.7137 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.3532, allocations: 1.09 MB / 0.7147 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3533, allocations: 8 kB / 0.7147 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3533, allocations: 0 / 0.7147 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.3533, allocations: 11.97 kB / 0.7147 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.3568, allocations: 1.791 MB / 0.7165 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3568, allocations: 0 / 0.7165 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.3572, allocations: 115.8 kB / 0.7166 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.3577, allocations: 117.6 kB / 0.7167 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.3577, allocations: 23.92 kB / 0.7167 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.3611, allocations: 2.993 MB / 0.7197 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3611, allocations: 0 / 0.7197 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.3636, allocations: 1.189 MB / 0.7208 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/0.3644, allocations: 272.6 kB / 0.7211 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3645, allocations: 24.08 kB / 0.7211 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.365, allocations: 23.98 kB / 0.7211 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3651, allocations: 56.55 kB / 0.7212 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.3652, allocations: 35.92 kB / 0.7212 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001561/0.3668, allocations: 0.9545 MB / 0.7221 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3668, allocations: 0 / 0.7221 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001274/0.368, allocations: 391.2 kB / 0.7225 GB, free: 13.61 MB / 0.5606 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 (63): * Single equations (assignments): 61 * 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.004786/0.3728, allocations: 2.37 MB / 0.7248 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.3745, allocations: 0.7841 MB / 0.7256 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3745, allocations: 0 / 0.7256 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.3754, allocations: 0.5321 MB / 0.7261 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.3774, allocations: 417.4 kB / 0.7265 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.3935, allocations: 9.098 MB / 0.7354 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.3943, allocations: 0.6221 MB / 0.736 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.3953, allocations: 235.4 kB / 0.7362 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/0.3961, allocations: 0.5618 MB / 0.7368 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.3961, allocations: 0 / 0.7368 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5279/0.924, allocations: 35.88 MB / 0.7718 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.63, allocations: 6.969 kB / 0.7718 GB, free: 101.7 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 20.155516622122377]