Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001519/0.001519, 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.001701/0.001701, allocations: 220.2 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.6959/0.6959, allocations: 94.55 MB / 407.7 MB, free: 9.238 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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.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.002363/0.002363, allocations: 90.72 kB / 0.5562 GB, free: 38.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 73.05 MB / 0.6275 GB, free: 4 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04674/0.1541, allocations: 45.87 MB / 0.6723 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.1696, allocations: 12.51 MB / 0.6845 GB, free: 5.414 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.171, allocations: 79.31 kB / 0.6846 GB, free: 5.336 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.1734, allocations: 1.158 MB / 0.6857 GB, free: 4.172 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.1785, allocations: 2.152 MB / 0.6878 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.1816, allocations: 1.22 MB / 0.689 GB, free: 0.7891 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.1856, allocations: 2.856 MB / 0.6918 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.1863, allocations: 298 kB / 0.6921 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.1889, allocations: 1.464 MB / 0.6935 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.1906, allocations: 1.12 MB / 0.6946 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.191, allocations: 139.9 kB / 0.6948 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.1945, allocations: 1.213 MB / 0.696 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.1951, allocations: 434.2 kB / 0.6964 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.1966, allocations: 0.9672 MB / 0.6973 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.2021, allocations: 2.918 MB / 0.7002 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2021, allocations: 0 / 0.7002 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2021, allocations: 0 / 0.7002 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.131e-05/0.2022, allocations: 0 / 0.7002 GB, free: 5.328 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004784/0.2069, allocations: 2.49 MB / 0.7026 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.207, allocations: 12.03 kB / 0.7026 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.2074, allocations: 247.4 kB / 0.7028 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.2096, allocations: 1.265 MB / 0.7041 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.2097, allocations: 98.97 kB / 0.7042 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.2098, allocations: 131.9 kB / 0.7043 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.2123, allocations: 1.521 MB / 0.7058 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.2123, allocations: 4 kB / 0.7058 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-05/0.2124, allocations: 52 kB / 0.7058 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.2124, allocations: 32 kB / 0.7059 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.215, allocations: 1.607 MB / 0.7074 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007419/0.2224, allocations: 6.225 MB / 0.7135 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.2245, allocations: 1.215 MB / 0.7147 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.2256, allocations: 0.6164 MB / 0.7153 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00433/0.2299, allocations: 2.246 MB / 0.7175 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.2311, allocations: 0.685 MB / 0.7182 GB, free: 2.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.476e-06/0.2311, allocations: 0 / 0.7182 GB, free: 2.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.00418/0.2353, allocations: 1.994 MB / 0.7201 GB, free: 108 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.2354, allocations: 68.72 kB / 0.7202 GB, free: 24 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.2371, allocations: 1.317 MB / 0.7215 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.2372, allocations: 49.7 kB / 0.7215 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.2378, allocations: 0.7033 MB / 0.7222 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.2382, allocations: 0.4918 MB / 0.7227 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.2386, allocations: 250.8 kB / 0.7229 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2388, allocations: 353.9 kB / 0.7233 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009181/0.2397, allocations: 470.4 kB / 0.7237 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.2407, allocations: 0.6163 MB / 0.7243 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.2428, allocations: 1.171 MB / 0.7254 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2428, allocations: 0 / 0.7254 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003019/0.2458, allocations: 1.557 MB / 0.727 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.2459, allocations: 29.7 kB / 0.727 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2459, allocations: 4 kB / 0.727 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2463, allocations: 109.6 kB / 0.7271 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/0.2472, allocations: 275.6 kB / 0.7274 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.2501, allocations: 3.029 MB / 0.7303 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.2509, allocations: 123.1 kB / 0.7304 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2511, allocations: 63.97 kB / 0.7305 GB, free: 5.055 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.000722/0.2518, allocations: 393.4 kB / 0.7309 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.2522, allocations: 186.8 kB / 0.7311 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.2564, allocations: 2.287 MB / 0.7333 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.2564, allocations: 20 kB / 0.7333 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2564, allocations: 3.938 kB / 0.7333 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.2564, allocations: 11.97 kB / 0.7333 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006034/0.2625, allocations: 3.429 MB / 0.7367 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2625, allocations: 4.125 kB / 0.7367 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.2634, allocations: 287.6 kB / 0.737 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.2638, allocations: 105.6 kB / 0.7371 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.2639, allocations: 51.97 kB / 0.7371 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.2666, allocations: 3.032 MB / 0.7401 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2666, allocations: 4.062 kB / 0.7401 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.2709, allocations: 2.398 MB / 0.7424 GB, free: 8.535 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/0.2717, allocations: 412 kB / 0.7428 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.272, allocations: 43.92 kB / 0.7428 GB, free: 8.086 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.2726, allocations: 44.05 kB / 0.7429 GB, free: 8.043 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.2729, allocations: 129.1 kB / 0.743 GB, free: 7.918 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.273, allocations: 59.97 kB / 0.7431 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001316/0.2743, allocations: 0.9235 MB / 0.744 GB, free: 6.941 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2743, allocations: 3.938 kB / 0.744 GB, free: 6.938 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001545/0.2758, allocations: 0.6042 MB / 0.7446 GB, free: 6.332 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002034/0.2779, allocations: 0.8455 MB / 0.7454 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00279/0.2807, allocations: 1.519 MB / 0.7469 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2807, allocations: 0 / 0.7469 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.2822, allocations: 0.9349 MB / 0.7478 GB, free: 3.109 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.2842, allocations: 490.6 kB / 0.7483 GB, free: 2.648 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2524/0.5366, allocations: 3.321 MB / 0.7515 GB, free: 116.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.5376, allocations: 1.349 MB / 0.7528 GB, free: 115.7 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.5383, allocations: 212.6 kB / 0.753 GB, free: 115.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.002e-06/0.5383, allocations: 0 / 0.753 GB, free: 115.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.04646/0.5848, allocations: 42.48 MB / 0.7945 GB, free: 89.56 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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.797723693074659]