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.000782/0.000782, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001841, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007381/0.0007381, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001687, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9627/0.9627, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09488/1.058, allocations: 53.67 MB / 243.2 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6844/0.6844, allocations: 118.6 MB / 362.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0691/0.7535, allocations: 35.84 MB / 398.5 MB, free: 13.23 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 399.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.432e-05, allocations: 2.312 kB / 399.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0131/0.01311, allocations: 12.79 MB / 412.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006961/0.02008, allocations: 4.049 MB / 416.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.02113, allocations: 114.9 kB / 416.7 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.02186, allocations: 376.3 kB / 417.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.02421, allocations: 1.229 MB / 418.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.02606, allocations: 0.7867 MB / 419.1 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.02928, allocations: 3.032 MB / 422.1 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.02987, allocations: 331.2 kB / 422.4 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.03235, allocations: 1.8 MB / 424.2 MB, free: 3.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/0.03332, allocations: 0.7592 MB / 425 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.03353, allocations: 128 kB / 425.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/0.03427, allocations: 311.6 kB / 425.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.03453, allocations: 274.6 kB / 425.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.0352, allocations: 0.5494 MB / 426.2 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2518/0.287, allocations: 1.663 MB / 427.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-05/0.287, allocations: 3.375 kB / 427.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.287, allocations: 0 / 427.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.255e-05/0.2871, allocations: 2 kB / 427.9 MB, free: 7.996 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003136/0.2902, allocations: 2.902 MB / 430.8 MB, free: 6.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2903, allocations: 10.59 kB / 430.8 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.2908, allocations: 305.9 kB / 431.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.2925, allocations: 1.292 MB / 432.4 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.2925, allocations: 92.61 kB / 432.5 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2926, allocations: 128.9 kB / 432.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.2936, allocations: 0.9179 MB / 433.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2936, allocations: 2.031 kB / 433.5 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.2937, allocations: 51.75 kB / 433.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.2937, allocations: 28.88 kB / 433.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005811/0.2943, allocations: 419.3 kB / 434 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.2971, allocations: 2.663 MB / 436.7 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.2978, allocations: 0.6426 MB / 437.3 MB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.298, allocations: 220.1 kB / 437.6 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.2993, allocations: 1.034 MB / 438.6 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2993, allocations: 49.33 kB / 438.6 MB, free: 4.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.943e-06/0.2993, allocations: 0 / 438.6 MB, free: 4.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.0009848/0.3003, allocations: 0.7876 MB / 439.4 MB, free: 4.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.3003, allocations: 67.28 kB / 439.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.301, allocations: 1.214 MB / 440.7 MB, free: 4.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.301, allocations: 47.08 kB / 440.8 MB, free: 4.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3012, allocations: 0.5659 MB / 441.3 MB, free: 3.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.3013, allocations: 353 kB / 441.7 MB, free: 3.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3015, allocations: 171.7 kB / 441.8 MB, free: 3.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3015, allocations: 353.3 kB / 442.2 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3016, allocations: 99.23 kB / 442.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3018, allocations: 0.5487 MB / 442.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.3022, allocations: 475.9 kB / 443.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3022, allocations: 3.344 kB / 443.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0006656/0.3029, allocations: 0.6308 MB / 443.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3029, allocations: 11.41 kB / 443.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3029, allocations: 3.906 kB / 443.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.3033, allocations: 177.6 kB / 444.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3036, allocations: 224.9 kB / 444.3 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3054, allocations: 3.818 MB / 448.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3057, allocations: 96.53 kB / 448.2 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.3057, allocations: 30.06 kB / 448.3 MB, free: 15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0002035/0.3059, allocations: 172.8 kB / 448.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3061, allocations: 132.7 kB / 448.6 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/0.307, allocations: 1.115 MB / 449.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3071, allocations: 10 kB / 449.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3071, allocations: 6.594 kB / 449.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3071, allocations: 3.516 kB / 449.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3085, allocations: 1.342 MB / 451 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3085, allocations: 0 / 451 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.3088, allocations: 160.1 kB / 451.2 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.309, allocations: 204.4 kB / 451.4 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.3094, allocations: 190.8 kB / 451.6 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.3094, allocations: 23.33 kB / 451.6 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.3112, allocations: 3.809 MB / 455.4 MB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3112, allocations: 1.031 kB / 455.4 MB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.312, allocations: 0.8419 MB / 456.3 MB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3121, allocations: 25.52 kB / 456.3 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3124, allocations: 31.56 kB / 456.3 MB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.3125, allocations: 74.8 kB / 456.4 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3125, allocations: 21.92 kB / 456.4 MB, free: 8.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004767/0.313, allocations: 0.6629 MB / 457.1 MB, free: 8.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.313, allocations: 0 / 457.1 MB, free: 8.188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007279/0.3137, allocations: 450.2 kB / 457.5 MB, free: 7.777 MB / 426.7 MB 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 (80): * Single equations (assignments): 77 * 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.0002373/0.3139, allocations: 148.2 kB / 457.7 MB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007253/0.3147, allocations: 0.8209 MB / 458.5 MB, free: 6.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.818e-05/0.3147, allocations: 28.59 kB / 458.5 MB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.3151, allocations: 0.6291 MB / 459.1 MB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.3169, allocations: 0.8508 MB / 460 MB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.3353, allocations: 2.967 MB / 463 MB, free: 2.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3355, allocations: 299.5 kB / 463.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007343/0.3362, allocations: 271.5 kB / 463.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.337, allocations: 0.4905 MB / 464 MB, free: 1.664 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.337, allocations: 4 kB / 464 MB, free: 1.66 MB / 426.7 MB Notification: Performance of Templates: time 0.0322/0.3692, allocations: 29.03 MB / 493 MB, free: 5.84 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_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.05204486194998]