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.0017/0.0017, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001887/0.001887, allocations: 162.9 kB / 23.01 MB, free: 4.602 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.934 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.7572/0.7572, allocations: 74.9 MB / 334.7 MB, free: 15.53 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.002663/0.002663, allocations: 88.42 kB / 496.4 MB, free: 29.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1223, allocations: 73.04 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05235/0.1746, allocations: 41.36 MB / 0.5965 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.1925, allocations: 11.36 MB / 0.6076 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.1946, allocations: 79.31 kB / 0.6076 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.1975, allocations: 1.072 MB / 0.6087 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.2037, allocations: 2.133 MB / 0.6108 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.2076, allocations: 1.201 MB / 0.6119 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004896/0.2125, allocations: 2.856 MB / 0.6147 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.2133, allocations: 282.1 kB / 0.615 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.2163, allocations: 1.467 MB / 0.6164 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.2183, allocations: 1.026 MB / 0.6174 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.2187, allocations: 136 kB / 0.6176 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.2221, allocations: 1.038 MB / 0.6186 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007197/0.2228, allocations: 438.1 kB / 0.619 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.2241, allocations: 0.7654 MB / 0.6197 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/0.23, allocations: 2.895 MB / 0.6226 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2301, allocations: 3.938 kB / 0.6226 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2301, allocations: 0 / 0.6226 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.201e-05/0.2301, allocations: 0 / 0.6226 GB, free: 11.21 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.005541/0.2356, allocations: 2.486 MB / 0.625 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2357, allocations: 12.03 kB / 0.625 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.2366, allocations: 275.3 kB / 0.6253 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.2392, allocations: 1.261 MB / 0.6265 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.2393, allocations: 98.97 kB / 0.6266 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.2396, allocations: 135.9 kB / 0.6267 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.2424, allocations: 1.547 MB / 0.6282 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.2425, allocations: 4 kB / 0.6282 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2426, allocations: 55.92 kB / 0.6283 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.2426, allocations: 36 kB / 0.6283 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.2455, allocations: 1.576 MB / 0.6299 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007419/0.2529, allocations: 3.565 MB / 0.6333 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.2555, allocations: 1.215 MB / 0.6345 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.2567, allocations: 0.609 MB / 0.6351 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00478/0.2615, allocations: 1.986 MB / 0.6371 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.2631, allocations: 0.7869 MB / 0.6378 GB, free: 11.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 4.058e-06/0.2631, allocations: 0 / 0.6378 GB, free: 11.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004913/0.268, allocations: 1.94 MB / 0.6397 GB, free: 9.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.2681, allocations: 124.1 kB / 0.6398 GB, free: 9.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.2699, allocations: 1.247 MB / 0.6411 GB, free: 7.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.2701, allocations: 49.7 kB / 0.6411 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007898/0.2709, allocations: 0.7184 MB / 0.6418 GB, free: 7.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/0.2716, allocations: 0.4918 MB / 0.6423 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.272, allocations: 250.8 kB / 0.6425 GB, free: 6.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2722, allocations: 353.9 kB / 0.6429 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009941/0.2732, allocations: 484.1 kB / 0.6433 GB, free: 5.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.2744, allocations: 0.6971 MB / 0.644 GB, free: 4.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.2766, allocations: 1.161 MB / 0.6451 GB, free: 3.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2766, allocations: 0 / 0.6451 GB, free: 3.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003413/0.28, allocations: 1.548 MB / 0.6467 GB, free: 2.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.2801, allocations: 37.69 kB / 0.6467 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2801, allocations: 4 kB / 0.6467 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.2806, allocations: 105.7 kB / 0.6468 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2816, allocations: 271.6 kB / 0.6471 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.2849, allocations: 2.956 MB / 0.6499 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.286, allocations: 119.2 kB / 0.6501 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.2862, allocations: 59.97 kB / 0.6501 GB, free: 14.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0007564/0.2869, allocations: 381.5 kB / 0.6505 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.2874, allocations: 178.9 kB / 0.6506 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.2919, allocations: 2.11 MB / 0.6527 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.2919, allocations: 16 kB / 0.6527 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2919, allocations: 0 / 0.6527 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.2919, allocations: 15.95 kB / 0.6527 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.2982, allocations: 2.946 MB / 0.6556 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.2982, allocations: 3.938 kB / 0.6556 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.2992, allocations: 267.6 kB / 0.6559 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.2996, allocations: 117.5 kB / 0.656 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.2997, allocations: 47.97 kB / 0.656 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.3028, allocations: 2.955 MB / 0.6589 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3028, allocations: 4.031 kB / 0.6589 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/0.3076, allocations: 2.31 MB / 0.6612 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.3085, allocations: 384.2 kB / 0.6615 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.3087, allocations: 36.05 kB / 0.6616 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.3094, allocations: 47.92 kB / 0.6616 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.3097, allocations: 121.1 kB / 0.6617 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3098, allocations: 55.97 kB / 0.6618 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001385/0.3112, allocations: 0.8744 MB / 0.6626 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3112, allocations: 0 / 0.6626 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001786/0.313, allocations: 0.5652 MB / 0.6632 GB, free: 0.5781 MB / 0.5606 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 (149): * Single equations (assignments): 145 * 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.002282/0.3152, allocations: 0.8306 MB / 0.664 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003219/0.3185, allocations: 1.509 MB / 0.6655 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.3185, allocations: 0 / 0.6655 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.3203, allocations: 0.9077 MB / 0.6664 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.3225, allocations: 451.2 kB / 0.6668 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006412/0.3289, allocations: 3.191 MB / 0.6699 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/0.3299, allocations: 0.7629 MB / 0.6707 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001272/0.3311, allocations: 363.6 kB / 0.671 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.3316, allocations: 184.4 kB / 0.6712 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.3316, allocations: 0 / 0.6712 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.3172/0.6488, allocations: 27.39 MB / 0.6979 GB, free: 132.4 MB / 0.5919 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 -s ida -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: 6.95909512299113]