Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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: 110.2 kB / 19.69 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.00166/0.00166, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.363/1.363, 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.7211/0.7211, allocations: 94.55 MB / 407.8 MB, free: 9.203 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [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.002376/0.002376, allocations: 86.66 kB / 0.5562 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1134, allocations: 73.05 MB / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.06652/0.18, allocations: 66.37 MB / 0.6924 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02139/0.2013, allocations: 17.69 MB / 0.7096 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.2035, allocations: 114.9 kB / 0.7097 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.2064, allocations: 1.199 MB / 0.7109 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007247/0.2136, allocations: 2.882 MB / 0.7137 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.2178, allocations: 1.589 MB / 0.7153 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005872/0.2237, allocations: 3.926 MB / 0.7191 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/0.2245, allocations: 395 kB / 0.7195 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.2276, allocations: 1.677 MB / 0.7211 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.2301, allocations: 1.563 MB / 0.7227 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005283/0.2306, allocations: 192 kB / 0.7228 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.2355, allocations: 1.763 MB / 0.7246 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.2362, allocations: 0.4978 MB / 0.725 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.2381, allocations: 1.255 MB / 0.7263 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.2448, allocations: 3.833 MB / 0.73 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2448, allocations: 3.938 kB / 0.73 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2448, allocations: 0 / 0.73 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.2448, allocations: 0 / 0.73 GB, free: 6.605 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.005611/0.2505, allocations: 3.005 MB / 0.733 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2505, allocations: 8.031 kB / 0.733 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004874/0.251, allocations: 291.2 kB / 0.7332 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.2535, allocations: 1.382 MB / 0.7346 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2536, allocations: 140.1 kB / 0.7347 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.2539, allocations: 200.3 kB / 0.7349 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.2573, allocations: 2.202 MB / 0.7371 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.2573, allocations: 0 / 0.7371 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.2575, allocations: 76 kB / 0.7371 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.2575, allocations: 52 kB / 0.7372 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.2611, allocations: 2.341 MB / 0.7395 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.2717, allocations: 8.934 MB / 0.7482 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.2747, allocations: 1.789 MB / 0.7499 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.2761, allocations: 0.893 MB / 0.7508 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2585/0.5346, allocations: 3.172 MB / 0.7539 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.5361, allocations: 0.9573 MB / 0.7548 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 3.417e-06/0.5361, allocations: 0 / 0.7548 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.005479/0.5416, allocations: 2.796 MB / 0.7576 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5416, allocations: 72.33 kB / 0.7576 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.543, allocations: 1.233 MB / 0.7589 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.5431, allocations: 65.23 kB / 0.7589 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.5436, allocations: 0.8796 MB / 0.7598 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.544, allocations: 0.6954 MB / 0.7605 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.5444, allocations: 330.8 kB / 0.7608 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.5444, allocations: 308.2 kB / 0.7611 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5455, allocations: 0.6512 MB / 0.7617 GB, free: 114 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5467, allocations: 0.896 MB / 0.7626 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.5495, allocations: 1.681 MB / 0.7642 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.5495, allocations: 5.656 kB / 0.7642 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004028/0.5535, allocations: 2.169 MB / 0.7663 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.5535, allocations: 38.67 kB / 0.7664 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.5536, allocations: 5.344 kB / 0.7664 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.5541, allocations: 157.5 kB / 0.7665 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5555, allocations: 400.7 kB / 0.7669 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.5582, allocations: 4.537 MB / 0.7713 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5593, allocations: 167.4 kB / 0.7715 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.5595, allocations: 85.36 kB / 0.7716 GB, free: 107.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0006423/0.5601, allocations: 365.6 kB / 0.7719 GB, free: 107 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.5604, allocations: 204.2 kB / 0.7721 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/0.5653, allocations: 3.425 MB / 0.7755 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.5653, allocations: 30.48 kB / 0.7755 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5654, allocations: 7.875 kB / 0.7755 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.5654, allocations: 11.95 kB / 0.7755 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/0.5716, allocations: 4.751 MB / 0.7802 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5716, allocations: 5.625 kB / 0.7802 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5728, allocations: 395.5 kB / 0.7805 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.5732, allocations: 174 kB / 0.7807 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.5733, allocations: 67.66 kB / 0.7808 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.5758, allocations: 4.536 MB / 0.7852 GB, free: 98.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5758, allocations: 5.781 kB / 0.7852 GB, free: 98.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.5803, allocations: 3.356 MB / 0.7885 GB, free: 96.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/0.5811, allocations: 465.2 kB / 0.7889 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.5813, allocations: 52.62 kB / 0.789 GB, free: 96.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.582, allocations: 58.73 kB / 0.789 GB, free: 96.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.5822, allocations: 184 kB / 0.7892 GB, free: 96.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.5824, allocations: 83.95 kB / 0.7893 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007932/0.5831, allocations: 0.8665 MB / 0.7901 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5831, allocations: 0 / 0.7901 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001675/0.5848, allocations: 0.8692 MB / 0.791 GB, free: 94.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.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 (225): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0009106/0.5857, allocations: 0.842 MB / 0.7918 GB, free: 93.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.5887, allocations: 2.161 MB / 0.7939 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5887, allocations: 0 / 0.7939 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.5903, allocations: 1.37 MB / 0.7953 GB, free: 90.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.5927, allocations: 0.6506 MB / 0.7959 GB, free: 89.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.5978, allocations: 3.978 MB / 0.7998 GB, free: 85.49 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.5984, allocations: 1.471 MB / 0.8012 GB, free: 83.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.5991, allocations: 275.3 kB / 0.8015 GB, free: 83.71 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.5991, allocations: 0 / 0.8015 GB, free: 83.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.05071/0.6498, allocations: 64.29 MB / 0.8643 GB, free: 19.52 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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: 11.374180136946961]