Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001832/0.001832, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002153/0.002153, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.012 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.7555/0.7555, allocations: 94.55 MB / 407 MB, free: 9.172 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.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.002703/0.002703, allocations: 91.33 kB / 0.5554 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1251, allocations: 73.06 MB / 0.6268 GB, free: 16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06393/0.189, allocations: 54.37 MB / 0.6799 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.2165, allocations: 21.81 MB / 0.7012 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.2182, allocations: 99.06 kB / 0.7013 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.2206, allocations: 0.9042 MB / 0.7021 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004775/0.2253, allocations: 1.735 MB / 0.7038 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.2292, allocations: 1.358 MB / 0.7052 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.2331, allocations: 2.587 MB / 0.7077 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006579/0.2338, allocations: 314.7 kB / 0.708 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.236, allocations: 1.12 MB / 0.7091 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.2375, allocations: 0.9601 MB / 0.71 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.2378, allocations: 124 kB / 0.7101 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.2415, allocations: 1.288 MB / 0.7114 GB, free: 9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.242, allocations: 346.3 kB / 0.7117 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.243, allocations: 0.901 MB / 0.7126 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.2485, allocations: 2.692 MB / 0.7152 GB, free: 5.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2485, allocations: 4 kB / 0.7152 GB, free: 5.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2485, allocations: 0 / 0.7152 GB, free: 5.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.028e-05/0.2486, allocations: 4 kB / 0.7152 GB, free: 5.043 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004765/0.2533, allocations: 2.341 MB / 0.7175 GB, free: 2.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2534, allocations: 12.03 kB / 0.7175 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.2538, allocations: 226.5 kB / 0.7178 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.2562, allocations: 1.187 MB / 0.7189 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.2563, allocations: 90.28 kB / 0.719 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.2565, allocations: 123.9 kB / 0.7191 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.2586, allocations: 1.218 MB / 0.7203 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.2586, allocations: 0 / 0.7203 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.2587, allocations: 51.94 kB / 0.7204 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.2588, allocations: 31.98 kB / 0.7204 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.2608, allocations: 1.172 MB / 0.7215 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007182/0.268, allocations: 4.965 MB / 0.7264 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.2696, allocations: 0.8203 MB / 0.7272 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007469/0.2703, allocations: 428.8 kB / 0.7276 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003857/0.2742, allocations: 1.768 MB / 0.7293 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.2742, allocations: 51.48 kB / 0.7294 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.414e-06/0.2742, allocations: 0 / 0.7294 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.00364/0.2779, allocations: 1.482 MB / 0.7308 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2779, allocations: 68.41 kB / 0.7309 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.2797, allocations: 1.284 MB / 0.7321 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.2797, allocations: 45.7 kB / 0.7322 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/0.2804, allocations: 0.7661 MB / 0.7329 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.2807, allocations: 368.8 kB / 0.7333 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.281, allocations: 170.6 kB / 0.7334 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2812, allocations: 341.9 kB / 0.7338 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.2818, allocations: 305.9 kB / 0.7341 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.2826, allocations: 437.9 kB / 0.7345 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.284, allocations: 0.7699 MB / 0.7352 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.284, allocations: 3.938 kB / 0.7352 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002352/0.2864, allocations: 1.147 MB / 0.7364 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.2864, allocations: 4 kB / 0.7364 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2864, allocations: 4 kB / 0.7364 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/0.2871, allocations: 166.7 kB / 0.7365 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.2878, allocations: 187.8 kB / 0.7367 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/0.2925, allocations: 4.52 MB / 0.7411 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.2934, allocations: 87.34 kB / 0.7412 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.2935, allocations: 44.05 kB / 0.7412 GB, free: 9.285 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * 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.0005245/0.294, allocations: 277.5 kB / 0.7415 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.2943, allocations: 170.9 kB / 0.7417 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.2974, allocations: 1.633 MB / 0.7433 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.2974, allocations: 12 kB / 0.7433 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2974, allocations: 7.938 kB / 0.7433 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.2974, allocations: 3.984 kB / 0.7433 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.3021, allocations: 2.597 MB / 0.7458 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3021, allocations: 4 kB / 0.7458 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.3028, allocations: 167.7 kB / 0.746 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006409/0.3034, allocations: 166.6 kB / 0.7461 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.3035, allocations: 39.98 kB / 0.7462 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2777/0.5811, allocations: 4.512 MB / 0.7506 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5811, allocations: 3.562 kB / 0.7506 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.5844, allocations: 1.623 MB / 0.7522 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/0.585, allocations: 276.4 kB / 0.7524 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5852, allocations: 29.44 kB / 0.7525 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.5858, allocations: 25.25 kB / 0.7525 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.586, allocations: 91.2 kB / 0.7526 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.5861, allocations: 38.89 kB / 0.7526 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00124/0.5873, allocations: 0.9072 MB / 0.7535 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5873, allocations: 0 / 0.7535 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001637/0.589, allocations: 0.5969 MB / 0.7541 GB, free: 116.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001139/0.5901, allocations: 0.7306 MB / 0.7548 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.5922, allocations: 1.137 MB / 0.7559 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5922, allocations: 4.312 kB / 0.7559 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.5932, allocations: 0.7944 MB / 0.7567 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.5954, allocations: 0.5395 MB / 0.7572 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.5994, allocations: 2.804 MB / 0.76 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/0.6003, allocations: 1.255 MB / 0.7612 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001173/0.6014, allocations: 297.5 kB / 0.7615 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.6018, allocations: 139.1 kB / 0.7616 GB, free: 113 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/0.6018, allocations: 0 / 0.7616 GB, free: 113 MB / 0.5762 GB Notification: Performance of Templates: time 0.04489/0.6467, allocations: 30.23 MB / 0.7911 GB, free: 93.09 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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: 6.912942532915622]