Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001067/0.001067, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001314/0.001314, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7632/0.7632, allocations: 118.7 MB / 378.9 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.678e-05, allocations: 2.312 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.01323/0.01325, allocations: 10.39 MB / 441.3 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.252/0.2652, allocations: 3.62 MB / 444.9 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.2666, allocations: 81 kB / 445 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.2676, allocations: 0.6497 MB / 445.6 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.2699, allocations: 1.091 MB / 446.7 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.2715, allocations: 0.6904 MB / 447.4 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.274, allocations: 2.251 MB / 449.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.2745, allocations: 239.6 kB / 449.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.2775, allocations: 1.489 MB / 451.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.2785, allocations: 0.5718 MB / 451.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.2788, allocations: 90.75 kB / 452 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.2796, allocations: 268.3 kB / 452.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.2799, allocations: 354.6 kB / 452.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007003/0.2806, allocations: 489.4 kB / 453.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.2824, allocations: 1.448 MB / 454.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2824, allocations: 1.281 kB / 454.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2824, allocations: 0 / 454.6 MB, free: 14.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.073e-05/0.2824, allocations: 0 / 454.6 MB, free: 14.69 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002381/0.2848, allocations: 2.046 MB / 456.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2848, allocations: 8.875 kB / 456.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.2852, allocations: 230.7 kB / 456.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.2866, allocations: 1.113 MB / 457.9 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.2866, allocations: 62.06 kB / 458 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2867, allocations: 83.94 kB / 458.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.2872, allocations: 0.6538 MB / 458.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2872, allocations: 3.938 kB / 458.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.2873, allocations: 37.56 kB / 458.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2873, allocations: 21.47 kB / 458.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.2876, allocations: 294.9 kB / 459.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.2897, allocations: 1.904 MB / 461 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.2902, allocations: 457.4 kB / 461.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2903, allocations: 154.7 kB / 461.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/0.2912, allocations: 0.7654 MB / 462.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2913, allocations: 39.22 kB / 462.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.2913, allocations: 1.312 kB / 462.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007594/0.292, allocations: 0.5709 MB / 463 MB, free: 9.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.292, allocations: 60.06 kB / 463 MB, free: 9.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.2927, allocations: 1.142 MB / 464.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2927, allocations: 37.7 kB / 464.2 MB, free: 8.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2929, allocations: 465.3 kB / 464.7 MB, free: 8.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.293, allocations: 254.1 kB / 464.9 MB, free: 7.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2931, allocations: 142.9 kB / 465 MB, free: 7.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.2932, allocations: 336.5 kB / 465.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.2932, allocations: 69.23 kB / 465.4 MB, free: 7.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2934, allocations: 385 kB / 465.8 MB, free: 6.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2936, allocations: 333.7 kB / 466.1 MB, free: 6.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2936, allocations: 0 / 466.1 MB, free: 6.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004336/0.2941, allocations: 471.7 kB / 466.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2941, allocations: 4 kB / 466.6 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2941, allocations: 4 kB / 466.6 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.2944, allocations: 112.9 kB / 466.7 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.2947, allocations: 145.2 kB / 466.9 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.2957, allocations: 2.554 MB / 469.4 MB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.296, allocations: 59.61 kB / 469.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.296, allocations: 23.98 kB / 469.5 MB, free: 3.035 MB / 410.7 MB 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.0001922/0.2962, allocations: 148.1 kB / 469.6 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2963, allocations: 112.4 kB / 469.8 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.297, allocations: 0.7565 MB / 470.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.297, allocations: 4 kB / 470.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.297, allocations: 7 kB / 470.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.297, allocations: 1.125 kB / 470.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2981, allocations: 1.032 MB / 471.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2981, allocations: 0 / 471.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2983, allocations: 103.9 kB / 471.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.2986, allocations: 122.8 kB / 471.8 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.2986, allocations: 27.98 kB / 471.8 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.2999, allocations: 2.544 MB / 474.3 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2999, allocations: 10.48 kB / 474.4 MB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.3006, allocations: 0.6447 MB / 475 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.3009, allocations: 205.3 kB / 475.2 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.3009, allocations: 16 kB / 475.2 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3011, allocations: 19.94 kB / 475.2 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.3012, allocations: 52.55 kB / 475.3 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3013, allocations: 20.02 kB / 475.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004963/0.3018, allocations: 0.617 MB / 475.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3018, allocations: 0 / 475.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007786/0.3025, allocations: 335.3 kB / 476.3 MB, free: 12.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001301/0.3038, allocations: 478.4 kB / 476.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.3046, allocations: 0.5627 MB / 477.3 MB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/0.3046, allocations: 16 kB / 477.3 MB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.3049, allocations: 442.7 kB / 477.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3062, allocations: 0.5223 MB / 478.3 MB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.3099, allocations: 2.389 MB / 480.6 MB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.3101, allocations: 260.3 kB / 480.9 MB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006561/0.3107, allocations: 221.4 kB / 481.1 MB, free: 7.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/0.3114, allocations: 403.1 kB / 481.5 MB, free: 7.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/0.3114, allocations: 4 kB / 481.5 MB, free: 7.281 MB / 426.7 MB Notification: Performance of Templates: time 0.03007/0.3414, allocations: 20.74 MB / 0.4905 GB, free: 3.098 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2194334883242846]