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.001238/0.001238, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001273/0.001273, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.6678/0.6678, allocations: 94.57 MB / 407.8 MB, free: 9.18 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: translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [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.002338/0.002338, allocations: 96.2 kB / 0.5562 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1041, allocations: 73.04 MB / 0.6275 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04015/0.1442, allocations: 37.84 MB / 0.6645 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1623, allocations: 15.19 MB / 0.6793 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1635, allocations: 71.31 kB / 0.6794 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.1657, allocations: 0.9601 MB / 0.6803 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.1692, allocations: 1.387 MB / 0.6817 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.172, allocations: 1.046 MB / 0.6827 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.1747, allocations: 1.965 MB / 0.6846 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.1751, allocations: 223.5 kB / 0.6848 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.1769, allocations: 1.086 MB / 0.6859 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.178, allocations: 0.7073 MB / 0.6866 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1782, allocations: 92 kB / 0.6867 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.1805, allocations: 0.8935 MB / 0.6875 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.1808, allocations: 330.5 kB / 0.6878 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008084/0.1816, allocations: 0.726 MB / 0.6885 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.1851, allocations: 2.132 MB / 0.6906 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1851, allocations: 0 / 0.6906 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1851, allocations: 4 kB / 0.6906 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.283e-05/0.1851, allocations: 0 / 0.6906 GB, free: 15.07 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.00379/0.1889, allocations: 2.026 MB / 0.6926 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1889, allocations: 8.031 kB / 0.6926 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.1893, allocations: 199 kB / 0.6928 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.1915, allocations: 1.135 MB / 0.6939 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.1915, allocations: 61.98 kB / 0.694 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1916, allocations: 83.95 kB / 0.6941 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1931, allocations: 0.8688 MB / 0.6949 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1931, allocations: 0 / 0.6949 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.1932, allocations: 32 kB / 0.6949 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.1932, allocations: 23.94 kB / 0.695 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1946, allocations: 0.8159 MB / 0.6958 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.1994, allocations: 3.553 MB / 0.6992 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.2004, allocations: 0.5759 MB / 0.6998 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.2009, allocations: 302.7 kB / 0.7001 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002462/0.2034, allocations: 1.299 MB / 0.7013 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.2034, allocations: 39.22 kB / 0.7014 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 1.783e-06/0.2034, allocations: 0 / 0.7014 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002483/0.2059, allocations: 1.096 MB / 0.7025 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2059, allocations: 60 kB / 0.7025 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.2076, allocations: 1.341 MB / 0.7038 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.2077, allocations: 41.7 kB / 0.7039 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.2082, allocations: 0.6284 MB / 0.7045 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.2084, allocations: 257.8 kB / 0.7047 GB, free: 152 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2086, allocations: 150.6 kB / 0.7049 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2087, allocations: 334 kB / 0.7052 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.2092, allocations: 213.9 kB / 0.7054 GB, free: 15.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.2097, allocations: 310.3 kB / 0.7057 GB, free: 15.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/0.2106, allocations: 0.5419 MB / 0.7062 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2106, allocations: 4 kB / 0.7062 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001545/0.2122, allocations: 0.8297 MB / 0.707 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2122, allocations: 7.938 kB / 0.707 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2122, allocations: 8.188 kB / 0.707 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.2126, allocations: 109.6 kB / 0.7071 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.2131, allocations: 135.8 kB / 0.7073 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.2159, allocations: 3.005 MB / 0.7102 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2164, allocations: 67.56 kB / 0.7103 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.2164, allocations: 35.98 kB / 0.7103 GB, free: 10.11 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.0004505/0.2169, allocations: 323.3 kB / 0.7106 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.2171, allocations: 158.9 kB / 0.7108 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.2192, allocations: 1.146 MB / 0.7119 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2192, allocations: 11.94 kB / 0.7119 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2192, allocations: 3.984 kB / 0.7119 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.2192, allocations: 192 / 0.7119 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.2224, allocations: 1.987 MB / 0.7138 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.2224, allocations: 7.938 kB / 0.7138 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.2228, allocations: 119.8 kB / 0.714 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.2232, allocations: 113.7 kB / 0.7141 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.2232, allocations: 23.98 kB / 0.7141 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.2259, allocations: 3.009 MB / 0.717 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2259, allocations: 0 / 0.717 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2279, allocations: 1.237 MB / 0.7182 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.2284, allocations: 280.6 kB / 0.7185 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.2286, allocations: 12 kB / 0.7185 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.229, allocations: 27.98 kB / 0.7185 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.2292, allocations: 60.48 kB / 0.7186 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.2292, allocations: 31.92 kB / 0.7186 GB, free: 1.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001273/0.2305, allocations: 0.9545 MB / 0.7196 GB, free: 264 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2305, allocations: 64 / 0.7196 GB, free: 264 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001048/0.2315, allocations: 431 kB / 0.72 GB, free: 15.83 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.001915/0.2334, allocations: 0.756 MB / 0.7207 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.2349, allocations: 0.7959 MB / 0.7215 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2349, allocations: 4 kB / 0.7215 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.2358, allocations: 0.5555 MB / 0.722 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.2373, allocations: 417.6 kB / 0.7224 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.2415, allocations: 2.542 MB / 0.7249 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/0.2424, allocations: 1.212 MB / 0.7261 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.2427, allocations: 135.4 kB / 0.7262 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2427, allocations: 0 / 0.7262 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of Templates: time 0.2646/0.5073, allocations: 32.15 MB / 0.7576 GB, free: 116.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] 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: 10.627950710942969]