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.001373/0.001373, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001533/0.001533, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 0.8372/0.8372, allocations: 100.3 MB / 413.5 MB, free: 3.434 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="cs",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.002404/0.002404, allocations: 82.5 kB / 0.564 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1318, allocations: 74.46 MB / 0.6367 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03977/0.1716, allocations: 34.17 MB / 0.6701 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.1896, allocations: 13.76 MB / 0.6835 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.1912, allocations: 67.38 kB / 0.6836 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.1937, allocations: 0.8861 MB / 0.6845 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003946/0.1976, allocations: 1.367 MB / 0.6858 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.2006, allocations: 1.038 MB / 0.6868 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.2034, allocations: 1.949 MB / 0.6887 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.2038, allocations: 219.5 kB / 0.6889 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.2056, allocations: 1.086 MB / 0.69 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009339/0.2065, allocations: 0.7113 MB / 0.6907 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.2067, allocations: 92 kB / 0.6908 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.2087, allocations: 0.8037 MB / 0.6915 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.209, allocations: 326.5 kB / 0.6919 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006102/0.2096, allocations: 0.5591 MB / 0.6924 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.2129, allocations: 2.116 MB / 0.6945 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2129, allocations: 4 kB / 0.6945 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2129, allocations: 0 / 0.6945 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.2129, allocations: 0 / 0.6945 GB, free: 12.03 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.003561/0.2164, allocations: 2.026 MB / 0.6965 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2165, allocations: 12.03 kB / 0.6965 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.131e-05/0.2165, allocations: 26.19 kB / 0.6965 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.2167, allocations: 123.1 kB / 0.6966 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.2172, allocations: 214.7 kB / 0.6968 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.2193, allocations: 1.131 MB / 0.6979 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.2194, allocations: 58 kB / 0.698 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.2195, allocations: 91.94 kB / 0.6981 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2211, allocations: 0.8956 MB / 0.6989 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2211, allocations: 0 / 0.6989 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.2212, allocations: 43.88 kB / 0.699 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2212, allocations: 20 kB / 0.699 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.2227, allocations: 0.8081 MB / 0.6998 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.2273, allocations: 2.331 MB / 0.7021 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2285, allocations: 0.6005 MB / 0.7026 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.229, allocations: 302.7 kB / 0.7029 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002779/0.2318, allocations: 1.144 MB / 0.7041 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.2319, allocations: 39.22 kB / 0.7041 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.494e-06/0.2319, allocations: 0 / 0.7041 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002696/0.2346, allocations: 1.076 MB / 0.7051 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.2346, allocations: 60.06 kB / 0.7052 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.2365, allocations: 1.341 MB / 0.7065 GB, free: 15.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/0.2366, allocations: 41.7 kB / 0.7065 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.2372, allocations: 0.6323 MB / 0.7072 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.2374, allocations: 261.7 kB / 0.7074 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.2376, allocations: 142.5 kB / 0.7075 GB, free: 14.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2378, allocations: 334 kB / 0.7079 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.2382, allocations: 201.9 kB / 0.7081 GB, free: 13.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.2388, allocations: 367.4 kB / 0.7084 GB, free: 13.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2398, allocations: 0.5475 MB / 0.7089 GB, free: 12.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2398, allocations: 0 / 0.7089 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001724/0.2416, allocations: 0.826 MB / 0.7098 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.2416, allocations: 12 kB / 0.7098 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2416, allocations: 0 / 0.7098 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.2421, allocations: 113.6 kB / 0.7099 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.2426, allocations: 135.8 kB / 0.71 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.2456, allocations: 2.998 MB / 0.7129 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.2464, allocations: 63.5 kB / 0.713 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.2465, allocations: 31.98 kB / 0.713 GB, free: 8.426 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.0006136/0.2471, allocations: 325.8 kB / 0.7133 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.2474, allocations: 158.9 kB / 0.7135 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.2495, allocations: 1.098 MB / 0.7146 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2495, allocations: 4 kB / 0.7146 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2495, allocations: 4 kB / 0.7146 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.2495, allocations: 3.984 kB / 0.7146 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.2526, allocations: 1.799 MB / 0.7163 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2526, allocations: 0 / 0.7163 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.2531, allocations: 115.8 kB / 0.7164 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003769/0.2534, allocations: 117.5 kB / 0.7165 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.2535, allocations: 28.11 kB / 0.7166 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.2565, allocations: 2.981 MB / 0.7195 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2565, allocations: 7.969 kB / 0.7195 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.2588, allocations: 1.193 MB / 0.7207 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.2594, allocations: 272.5 kB / 0.7209 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.2596, allocations: 20 kB / 0.7209 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.26, allocations: 19.98 kB / 0.721 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.2601, allocations: 60.61 kB / 0.721 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.2602, allocations: 27.98 kB / 0.721 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001477/0.2617, allocations: 0.9584 MB / 0.722 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2617, allocations: 0 / 0.722 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001291/0.263, allocations: 399.1 kB / 0.7224 GB, free: 14.49 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.004423/0.2674, allocations: 2.366 MB / 0.7247 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.269, allocations: 0.7798 MB / 0.7254 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.269, allocations: 0.5 kB / 0.7254 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008708/0.2699, allocations: 0.5321 MB / 0.7259 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.2719, allocations: 410.7 kB / 0.7263 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.2873, allocations: 9.105 MB / 0.7352 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.288, allocations: 0.6221 MB / 0.7358 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008483/0.2889, allocations: 241.9 kB / 0.7361 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.2897, allocations: 0.5579 MB / 0.7366 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.2897, allocations: 4 kB / 0.7366 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.37/0.6597, allocations: 35.58 MB / 0.7714 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16, allocations: 11.08 kB / 0.7714 GB, free: 103.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: 19.875553100951947]