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.001302/0.001302, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001387/0.001387, allocations: 220 kB / 23.04 MB, free: 5.078 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.8287/0.8287, allocations: 100.3 MB / 413.5 MB, free: 3.723 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.002399/0.002399, allocations: 80.27 kB / 0.564 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1371, allocations: 74.46 MB / 0.6367 GB, free: 7.746 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04217/0.1793, allocations: 37.82 MB / 0.6737 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.1982, allocations: 15.21 MB / 0.6885 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1995, allocations: 71.31 kB / 0.6886 GB, free: 2.461 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.2016, allocations: 0.9562 MB / 0.6895 GB, free: 1.5 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.2054, allocations: 1.39 MB / 0.6909 GB, free: 104 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.2085, allocations: 1.055 MB / 0.6919 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.2117, allocations: 1.961 MB / 0.6938 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.2121, allocations: 219.5 kB / 0.694 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.2138, allocations: 1.082 MB / 0.6951 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000986/0.2148, allocations: 0.7152 MB / 0.6958 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.215, allocations: 88 kB / 0.6959 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.2177, allocations: 0.8936 MB / 0.6967 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.218, allocations: 326.5 kB / 0.6971 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.2187, allocations: 0.7299 MB / 0.6978 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.2223, allocations: 2.12 MB / 0.6998 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2223, allocations: 4 kB / 0.6998 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2223, allocations: 4 kB / 0.6998 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.2223, allocations: 0 / 0.6998 GB, free: 6.859 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.003432/0.2258, allocations: 2.03 MB / 0.7018 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2258, allocations: 8.031 kB / 0.7018 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.921e-05/0.2258, allocations: 22.19 kB / 0.7019 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.226, allocations: 127.1 kB / 0.702 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.2263, allocations: 198.7 kB / 0.7022 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2282, allocations: 1.139 MB / 0.7033 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.2283, allocations: 62 kB / 0.7033 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2284, allocations: 76 kB / 0.7034 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2299, allocations: 0.8688 MB / 0.7043 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2299, allocations: 0 / 0.7043 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.23, allocations: 39.94 kB / 0.7043 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.23, allocations: 20 kB / 0.7043 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.2314, allocations: 0.8121 MB / 0.7051 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.2361, allocations: 3.557 MB / 0.7086 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2372, allocations: 0.5779 MB / 0.7091 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.2377, allocations: 302.7 kB / 0.7094 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.2402, allocations: 1.291 MB / 0.7107 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.2403, allocations: 39.22 kB / 0.7107 GB, free: 11.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 1.944e-06/0.2403, allocations: 0 / 0.7107 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002564/0.2428, allocations: 1.1 MB / 0.7118 GB, free: 10.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2429, allocations: 56.06 kB / 0.7119 GB, free: 10.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.2447, allocations: 1.341 MB / 0.7132 GB, free: 8.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.2447, allocations: 41.7 kB / 0.7132 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/0.2453, allocations: 0.6362 MB / 0.7138 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.2455, allocations: 261.8 kB / 0.7141 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.2458, allocations: 150.5 kB / 0.7142 GB, free: 7.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2459, allocations: 330 kB / 0.7145 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.2464, allocations: 209.9 kB / 0.7147 GB, free: 7.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.2469, allocations: 318.2 kB / 0.715 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.2479, allocations: 0.5341 MB / 0.7156 GB, free: 6.191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2479, allocations: 4 kB / 0.7156 GB, free: 6.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001595/0.2495, allocations: 0.8375 MB / 0.7164 GB, free: 5.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2495, allocations: 4 kB / 0.7164 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2495, allocations: 4 kB / 0.7164 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.25, allocations: 109.8 kB / 0.7165 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.2505, allocations: 135.8 kB / 0.7166 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.2534, allocations: 3.011 MB / 0.7196 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.2539, allocations: 67.5 kB / 0.7196 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.254, allocations: 27.94 kB / 0.7197 GB, free: 1.75 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.0004639/0.2544, allocations: 329.6 kB / 0.72 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.2546, allocations: 158.9 kB / 0.7201 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.2568, allocations: 1.14 MB / 0.7212 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2568, allocations: 8 kB / 0.7212 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2568, allocations: 0 / 0.7212 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2568, allocations: 7.922 kB / 0.7213 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.26, allocations: 1.991 MB / 0.7232 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.26, allocations: 4.125 kB / 0.7232 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.2604, allocations: 127.8 kB / 0.7233 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.2608, allocations: 109.6 kB / 0.7234 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.2608, allocations: 23.98 kB / 0.7235 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.2636, allocations: 3.012 MB / 0.7264 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2636, allocations: 64 / 0.7264 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.2658, allocations: 1.233 MB / 0.7276 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.2663, allocations: 280.6 kB / 0.7279 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.2664, allocations: 19.95 kB / 0.7279 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.2669, allocations: 20 kB / 0.7279 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.267, allocations: 68.41 kB / 0.728 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.267, allocations: 36.23 kB / 0.728 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001284/0.2683, allocations: 0.9506 MB / 0.7289 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 0 / 0.7289 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001165/0.2695, allocations: 423 kB / 0.7293 GB, free: 7.465 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 (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.004259/0.2737, allocations: 2.441 MB / 0.7317 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.2753, allocations: 0.7955 MB / 0.7325 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2753, allocations: 0 / 0.7325 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.2762, allocations: 0.5445 MB / 0.733 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.2778, allocations: 422.8 kB / 0.7334 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.2918, allocations: 9.179 MB / 0.7424 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.2928, allocations: 1.216 MB / 0.7436 GB, free: 8.695 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0008256/0.2936, allocations: 244.1 kB / 0.7438 GB, free: 8.473 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/0.2944, allocations: 0.5657 MB / 0.7444 GB, free: 7.906 MB / 0.5763 GB Notification: Performance of SimCode: time 9.52e-07/0.2944, allocations: 0 / 0.7444 GB, free: 7.906 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3811/0.6755, allocations: 35.2 MB / 0.7787 GB, free: 98.89 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.52, allocations: 7.016 kB / 0.7787 GB, free: 98.89 MB / 0.5763 GB " [Timeout remaining time 645] (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: 18.416718304972164]