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.002387/0.002387, allocations: 74.58 kB / 19.16 MB, free: 2.57 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.002399/0.002399, allocations: 171.6 kB / 22.44 MB, free: 5.312 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.596/1.596, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.7562/0.7562, allocations: 74.91 MB / 334.1 MB, free: 8 kB / 302.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.002588/0.002588, allocations: 88.66 kB / 496 MB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1312, allocations: 73.03 MB / 0.5557 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0438/0.175, allocations: 34.03 MB / 0.5889 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.1962, allocations: 13.76 MB / 0.6024 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.1977, allocations: 71.31 kB / 0.6024 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.2001, allocations: 0.8856 MB / 0.6033 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.2043, allocations: 1.378 MB / 0.6046 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.2077, allocations: 1.028 MB / 0.6056 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.211, allocations: 1.957 MB / 0.6076 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.2117, allocations: 215.5 kB / 0.6078 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.215, allocations: 1.406 MB / 0.6091 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.2163, allocations: 0.6449 MB / 0.6098 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.2167, allocations: 88 kB / 0.6098 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.2192, allocations: 0.7993 MB / 0.6106 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.2197, allocations: 330.5 kB / 0.6109 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.2208, allocations: 0.5708 MB / 0.6115 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.2252, allocations: 2.128 MB / 0.6136 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2252, allocations: 0 / 0.6136 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2252, allocations: 0 / 0.6136 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.562e-05/0.2252, allocations: 0 / 0.6136 GB, free: 4.059 MB / 0.5137 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.004522/0.2297, allocations: 2.026 MB / 0.6156 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2298, allocations: 8.031 kB / 0.6156 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006636/0.2305, allocations: 215 kB / 0.6158 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.2331, allocations: 1.135 MB / 0.6169 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.2331, allocations: 66 kB / 0.6169 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.2333, allocations: 87.95 kB / 0.617 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.235, allocations: 0.9034 MB / 0.6179 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.235, allocations: 0 / 0.6179 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.2351, allocations: 32 kB / 0.6179 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2351, allocations: 23.94 kB / 0.618 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.2367, allocations: 0.7925 MB / 0.6187 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.2416, allocations: 2.203 MB / 0.6209 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.2428, allocations: 0.6018 MB / 0.6215 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.2434, allocations: 286.7 kB / 0.6217 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002732/0.2461, allocations: 1.147 MB / 0.6229 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.2462, allocations: 39.22 kB / 0.6229 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/0.2462, allocations: 0 / 0.6229 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002724/0.2489, allocations: 1.057 MB / 0.6239 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.249, allocations: 56.06 kB / 0.624 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.251, allocations: 1.294 MB / 0.6253 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.251, allocations: 41.7 kB / 0.6253 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.2516, allocations: 0.6319 MB / 0.6259 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.2519, allocations: 261.7 kB / 0.6262 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.2521, allocations: 146.5 kB / 0.6263 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2523, allocations: 334 kB / 0.6266 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.2527, allocations: 209.9 kB / 0.6268 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.2533, allocations: 363.4 kB / 0.6272 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2545, allocations: 0.5475 MB / 0.6277 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2545, allocations: 0 / 0.6277 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001729/0.2562, allocations: 0.8221 MB / 0.6285 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2562, allocations: 8 kB / 0.6285 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2562, allocations: 0 / 0.6285 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.2567, allocations: 109.6 kB / 0.6286 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.2572, allocations: 139.8 kB / 0.6287 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.2604, allocations: 2.947 MB / 0.6316 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.261, allocations: 55.61 kB / 0.6317 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.07e-05/0.2611, allocations: 31.98 kB / 0.6317 GB, free: 0.9219 MB / 0.5294 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.0005606/0.2616, allocations: 333.7 kB / 0.632 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.2619, allocations: 159 kB / 0.6322 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.2642, allocations: 1.089 MB / 0.6332 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2642, allocations: 4 kB / 0.6332 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.2642, allocations: 4 kB / 0.6332 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.2642, allocations: 3.984 kB / 0.6333 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.2674, allocations: 1.689 MB / 0.6349 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.2674, allocations: 8 kB / 0.6349 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.2679, allocations: 115.8 kB / 0.635 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003946/0.2683, allocations: 113.7 kB / 0.6351 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.2684, allocations: 19.98 kB / 0.6351 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.2714, allocations: 2.943 MB / 0.638 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2714, allocations: 128 / 0.638 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.2737, allocations: 1.187 MB / 0.6392 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.2742, allocations: 264.6 kB / 0.6394 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.2744, allocations: 12 kB / 0.6394 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.2749, allocations: 20.05 kB / 0.6395 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.2751, allocations: 72.48 kB / 0.6395 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.2751, allocations: 27.92 kB / 0.6396 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001483/0.2766, allocations: 0.9096 MB / 0.6404 GB, free: 7.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2766, allocations: 0 / 0.6404 GB, free: 7.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001205/0.2778, allocations: 395.1 kB / 0.6408 GB, free: 7.25 MB / 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 (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.002111/0.2799, allocations: 0.7359 MB / 0.6415 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.2817, allocations: 0.788 MB / 0.6423 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2817, allocations: 0 / 0.6423 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000943/0.2826, allocations: 0.5359 MB / 0.6428 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.2843, allocations: 368.1 kB / 0.6432 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.2892, allocations: 2.467 MB / 0.6456 GB, free: 2.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.29, allocations: 0.6218 MB / 0.6462 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.2909, allocations: 223.3 kB / 0.6464 GB, free: 1.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.2912, allocations: 116.5 kB / 0.6465 GB, free: 1.449 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2912, allocations: 0 / 0.6465 GB, free: 1.449 MB / 0.545 GB Notification: Performance of Templates: time 0.04049/0.3317, allocations: 20.47 MB / 0.6665 GB, free: 13.31 MB / 0.5762 GB " [Timeout remaining time 660] 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/jenkins/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: 6.644454071298242]