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.001385/0.001385, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001692/0.001692, allocations: 213.1 kB / 23.04 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.7301/0.7301, allocations: 94.57 MB / 407.8 MB, free: 9.164 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_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.00236/0.00236, allocations: 83.23 kB / 0.5557 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1313, allocations: 73.06 MB / 0.6271 GB, free: 468 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0442/0.1755, allocations: 37.83 MB / 0.664 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.1964, allocations: 15.2 MB / 0.6789 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.1981, allocations: 67.38 kB / 0.6789 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.2004, allocations: 0.9522 MB / 0.6798 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.2047, allocations: 1.391 MB / 0.6812 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.2078, allocations: 1.051 MB / 0.6822 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.2108, allocations: 1.957 MB / 0.6841 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.2113, allocations: 231.5 kB / 0.6844 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.2131, allocations: 1.074 MB / 0.6854 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00095/0.2141, allocations: 0.7152 MB / 0.6861 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2142, allocations: 88 kB / 0.6862 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.2167, allocations: 0.8974 MB / 0.6871 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.217, allocations: 326.5 kB / 0.6874 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.2177, allocations: 0.7299 MB / 0.6881 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.2214, allocations: 2.124 MB / 0.6902 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2214, allocations: 0 / 0.6902 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2214, allocations: 0 / 0.6902 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.2214, allocations: 4 kB / 0.6902 GB, free: 15.57 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.003574/0.225, allocations: 2.026 MB / 0.6922 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.225, allocations: 12.03 kB / 0.6922 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.087e-05/0.225, allocations: 26.19 kB / 0.6922 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.2252, allocations: 123.1 kB / 0.6923 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.2255, allocations: 198.7 kB / 0.6925 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.2276, allocations: 1.135 MB / 0.6936 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.2277, allocations: 70 kB / 0.6937 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2278, allocations: 79.95 kB / 0.6937 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2292, allocations: 0.8688 MB / 0.6946 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2292, allocations: 7.875 kB / 0.6946 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.2293, allocations: 39.94 kB / 0.6946 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2293, allocations: 20 kB / 0.6947 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.2308, allocations: 0.8121 MB / 0.6955 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004894/0.2357, allocations: 3.549 MB / 0.6989 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2368, allocations: 0.5759 MB / 0.6995 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.2373, allocations: 298.7 kB / 0.6998 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.2398, allocations: 1.299 MB / 0.701 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.2398, allocations: 43.22 kB / 0.7011 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.2398, allocations: 0 / 0.7011 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002629/0.2425, allocations: 1.088 MB / 0.7021 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.2425, allocations: 64 kB / 0.7022 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.2443, allocations: 1.341 MB / 0.7035 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.2444, allocations: 41.7 kB / 0.7035 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.245, allocations: 0.6362 MB / 0.7042 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.2452, allocations: 261.7 kB / 0.7044 GB, free: 484 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.2455, allocations: 146.5 kB / 0.7046 GB, free: 332 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2456, allocations: 330 kB / 0.7049 GB, free: 16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.2461, allocations: 213.9 kB / 0.7051 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.2466, allocations: 314.2 kB / 0.7054 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2476, allocations: 0.5341 MB / 0.7059 GB, free: 14.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2477, allocations: 0 / 0.7059 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001749/0.2494, allocations: 0.8414 MB / 0.7067 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2494, allocations: 4 kB / 0.7067 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2494, allocations: 4 kB / 0.7067 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.2499, allocations: 105.8 kB / 0.7068 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.2505, allocations: 139.8 kB / 0.707 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.2538, allocations: 3.017 MB / 0.7099 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.2544, allocations: 67.5 kB / 0.71 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.2545, allocations: 27.94 kB / 0.71 GB, free: 10.45 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.0005626/0.2551, allocations: 327 kB / 0.7103 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.2554, allocations: 162.9 kB / 0.7105 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.2577, allocations: 1.137 MB / 0.7116 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2577, allocations: 8 kB / 0.7116 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2578, allocations: 0 / 0.7116 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.2578, allocations: 3.984 kB / 0.7116 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.2615, allocations: 1.991 MB / 0.7135 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2615, allocations: 0 / 0.7135 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.262, allocations: 123.8 kB / 0.7136 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.2624, allocations: 113.6 kB / 0.7138 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.2625, allocations: 28.11 kB / 0.7138 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.2653, allocations: 3.009 MB / 0.7167 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2653, allocations: 3.984 kB / 0.7167 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.2676, allocations: 1.23 MB / 0.7179 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.2682, allocations: 280.6 kB / 0.7182 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.2683, allocations: 19.98 kB / 0.7182 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.2688, allocations: 20 kB / 0.7182 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2689, allocations: 72.47 kB / 0.7183 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.269, allocations: 27.98 kB / 0.7183 GB, free: 1.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001466/0.2705, allocations: 0.9506 MB / 0.7193 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2705, allocations: 4 kB / 0.7193 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001233/0.2717, allocations: 427 kB / 0.7197 GB, free: 172 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.004546/0.2763, allocations: 2.439 MB / 0.722 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.278, allocations: 0.7917 MB / 0.7228 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.278, allocations: 384 / 0.7228 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.279, allocations: 0.5516 MB / 0.7234 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.2809, allocations: 415.6 kB / 0.7238 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.2976, allocations: 9.188 MB / 0.7327 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.2987, allocations: 1.204 MB / 0.7339 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008658/0.2996, allocations: 250.6 kB / 0.7341 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/0.3004, allocations: 0.5618 MB / 0.7347 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/0.3004, allocations: 0 / 0.7347 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3608/0.6611, allocations: 35.2 MB / 0.7691 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.29, allocations: 9 kB / 0.7691 GB, free: 110.6 MB / 0.5762 GB " [Timeout remaining time 645] (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: 17.989711396978237]