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.00154/0.00154, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001685/0.001685, allocations: 217.1 kB / 22.24 MB, free: 4.855 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.478/1.478, allocations: 230.6 MB / 256 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.7518/0.7518, allocations: 94.61 MB / 407 MB, free: 8.957 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.002506/0.002506, allocations: 81.3 kB / 0.5554 GB, free: 38.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1249, allocations: 73.06 MB / 0.6268 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0547/0.1796, allocations: 49.09 MB / 0.6747 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.2044, allocations: 19.72 MB / 0.694 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.2061, allocations: 103 kB / 0.6941 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2085, allocations: 0.7952 MB / 0.6948 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.2132, allocations: 1.708 MB / 0.6965 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.2169, allocations: 1.339 MB / 0.6978 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.2204, allocations: 2.586 MB / 0.7003 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.221, allocations: 294.8 kB / 0.7006 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.2231, allocations: 1.113 MB / 0.7017 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.2244, allocations: 0.8741 MB / 0.7026 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.2246, allocations: 128 kB / 0.7027 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.2274, allocations: 1.135 MB / 0.7038 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.2278, allocations: 354.3 kB / 0.7041 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007943/0.2285, allocations: 0.7226 MB / 0.7048 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.2326, allocations: 2.661 MB / 0.7074 GB, free: 12.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2326, allocations: 4 kB / 0.7074 GB, free: 12.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2326, allocations: 0 / 0.7074 GB, free: 12.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.395e-05/0.2326, allocations: 0 / 0.7074 GB, free: 12.79 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.00424/0.2368, allocations: 2.345 MB / 0.7097 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2369, allocations: 12.03 kB / 0.7097 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.2375, allocations: 250.5 kB / 0.71 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.2398, allocations: 1.179 MB / 0.7111 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.2399, allocations: 90.28 kB / 0.7112 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2401, allocations: 120 kB / 0.7113 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.2421, allocations: 1.277 MB / 0.7126 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.2422, allocations: 4 kB / 0.7126 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.2423, allocations: 51.94 kB / 0.7126 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.2423, allocations: 28 kB / 0.7127 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.2442, allocations: 1.141 MB / 0.7138 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.2495, allocations: 2.961 MB / 0.7167 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.251, allocations: 0.861 MB / 0.7175 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/0.2517, allocations: 420 kB / 0.7179 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003512/0.2553, allocations: 1.547 MB / 0.7194 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.2553, allocations: 43.56 kB / 0.7195 GB, free: 220 kB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 3.667e-06/0.2553, allocations: 0 / 0.7195 GB, free: 220 kB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.003488/0.2588, allocations: 1.447 MB / 0.7209 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2588, allocations: 64.34 kB / 0.7209 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.2604, allocations: 1.201 MB / 0.7221 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.2605, allocations: 41.7 kB / 0.7221 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.2612, allocations: 0.7654 MB / 0.7229 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.2615, allocations: 368.8 kB / 0.7232 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.2618, allocations: 170.6 kB / 0.7234 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.2619, allocations: 341.9 kB / 0.7237 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.2625, allocations: 289.9 kB / 0.724 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.2633, allocations: 0.5133 MB / 0.7245 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.2647, allocations: 0.7684 MB / 0.7253 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2647, allocations: 0 / 0.7253 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002279/0.267, allocations: 1.127 MB / 0.7264 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.267, allocations: 8 kB / 0.7264 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.267, allocations: 0 / 0.7264 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.2677, allocations: 170.7 kB / 0.7265 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.2684, allocations: 191.7 kB / 0.7267 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.2727, allocations: 4.42 MB / 0.731 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.2734, allocations: 87.58 kB / 0.7311 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.2734, allocations: 36 kB / 0.7312 GB, free: 3.738 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: 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.0005473/0.274, allocations: 277.6 kB / 0.7314 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.2742, allocations: 162.9 kB / 0.7316 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.277, allocations: 1.567 MB / 0.7331 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.277, allocations: 8 kB / 0.7331 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.277, allocations: 4 kB / 0.7331 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2771, allocations: 3.984 kB / 0.7331 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.2808, allocations: 2.194 MB / 0.7353 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2808, allocations: 4.188 kB / 0.7353 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.2813, allocations: 155.8 kB / 0.7354 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.2818, allocations: 162.4 kB / 0.7356 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.2819, allocations: 35.97 kB / 0.7356 GB, free: 15.06 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.286, allocations: 4.431 MB / 0.7399 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.286, allocations: 0 / 0.7399 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.2888, allocations: 1.562 MB / 0.7415 GB, free: 8.715 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.2893, allocations: 250.6 kB / 0.7417 GB, free: 8.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.2895, allocations: 27.95 kB / 0.7417 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.29, allocations: 31.86 kB / 0.7417 GB, free: 8.41 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.2902, allocations: 80.8 kB / 0.7418 GB, free: 8.332 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.2903, allocations: 39.97 kB / 0.7419 GB, free: 8.293 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001168/0.2914, allocations: 0.8363 MB / 0.7427 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.2914, allocations: 0 / 0.7427 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001501/0.2929, allocations: 0.5534 MB / 0.7432 GB, free: 6.906 MB / 0.5763 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 (86): * Single equations (assignments): 83 * 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.0009809/0.2939, allocations: 0.6429 MB / 0.7438 GB, free: 6.262 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.2959, allocations: 1.126 MB / 0.7449 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2959, allocations: 0 / 0.7449 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.2971, allocations: 0.7632 MB / 0.7457 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.299, allocations: 494 kB / 0.7462 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.3037, allocations: 2.774 MB / 0.7489 GB, free: 1.008 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.3045, allocations: 0.6678 MB / 0.7495 GB, free: 312 kB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0008284/0.3053, allocations: 270.6 kB / 0.7498 GB, free: 64 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2518/0.5571, allocations: 114.8 kB / 0.7499 GB, free: 116.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.502e-06/0.5571, allocations: 0 / 0.7499 GB, free: 116.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.04263/0.5997, allocations: 30.21 MB / 0.7794 GB, free: 102.7 MB / 0.5763 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.632688254117966]