Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001107/0.001107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002698, allocations: 440 kB / 10.41 MB, free: 284 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002496, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.043/1.043, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09419/1.138, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7558/0.7558, allocations: 118.8 MB / 362.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08155/0.8373, allocations: 35.83 MB / 398.7 MB, free: 13.2 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-main/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_dev_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_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.12e-07/8.12e-07, allocations: 0 / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/1.052e-05, allocations: 2.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.009786/0.009797, allocations: 12.8 MB / 412.9 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.01653, allocations: 4.045 MB / 416.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007627/0.01729, allocations: 114.9 kB / 417 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.01778, allocations: 380.3 kB / 417.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.01929, allocations: 1.229 MB / 418.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.02074, allocations: 0.7984 MB / 419.4 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.02288, allocations: 3.016 MB / 422.4 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.02324, allocations: 335.2 kB / 422.8 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.02475, allocations: 1.804 MB / 424.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.0254, allocations: 0.7592 MB / 425.3 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.02553, allocations: 135.9 kB / 425.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.02602, allocations: 315.6 kB / 425.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.0262, allocations: 266.6 kB / 426 MB, free: 1.754 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.0266, allocations: 0.5494 MB / 426.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2315/0.2581, allocations: 1.666 MB / 428.2 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.03e-05/0.2581, allocations: 0.9844 kB / 428.2 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2581, allocations: 0 / 428.2 MB, free: 8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.2582, allocations: 0 / 428.2 MB, free: 8 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.003178/0.2614, allocations: 2.902 MB / 431.1 MB, free: 6.766 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2614, allocations: 10.19 kB / 431.2 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.2621, allocations: 303 kB / 431.5 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2638, allocations: 1.289 MB / 432.7 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.2638, allocations: 92.08 kB / 432.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.264, allocations: 130.1 kB / 433 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.2651, allocations: 0.92 MB / 433.9 MB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2651, allocations: 3.844 kB / 433.9 MB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.2651, allocations: 52.94 kB / 433.9 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.2652, allocations: 30.86 kB / 434 MB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.2657, allocations: 415 kB / 434.4 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.2689, allocations: 2.668 MB / 437 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.2696, allocations: 0.6484 MB / 437.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.2698, allocations: 213.7 kB / 437.9 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.2711, allocations: 1.038 MB / 438.9 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.2711, allocations: 46.97 kB / 439 MB, free: 4.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 1.583e-06/0.2711, allocations: 0 / 439 MB, free: 4.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.001018/0.2722, allocations: 0.7888 MB / 439.8 MB, free: 4.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2722, allocations: 64.34 kB / 439.8 MB, free: 4.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.2729, allocations: 1.213 MB / 441 MB, free: 4.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2729, allocations: 46.64 kB / 441.1 MB, free: 4.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2731, allocations: 0.567 MB / 441.7 MB, free: 3.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.2733, allocations: 356.6 kB / 442 MB, free: 3.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.2734, allocations: 171.5 kB / 442.2 MB, free: 3.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.2734, allocations: 349.8 kB / 442.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2735, allocations: 98.67 kB / 442.6 MB, free: 3.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.2737, allocations: 0.5503 MB / 443.2 MB, free: 2.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.2742, allocations: 494.1 kB / 443.6 MB, free: 2.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2742, allocations: 1.031 kB / 443.6 MB, free: 2.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0006471/0.2748, allocations: 0.6305 MB / 444.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.2748, allocations: 6.781 kB / 444.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2748, allocations: 8.438 kB / 444.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.2753, allocations: 177.8 kB / 444.5 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.2756, allocations: 220.2 kB / 444.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.2773, allocations: 3.822 MB / 448.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.2776, allocations: 91.34 kB / 448.6 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.2777, allocations: 31.91 kB / 448.6 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.0002055/0.2779, allocations: 172.3 kB / 448.8 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.278, allocations: 133.6 kB / 448.9 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.2789, allocations: 1.104 MB / 450 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2789, allocations: 12.62 kB / 450 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2789, allocations: 5.438 kB / 450 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.279, allocations: 4.172 kB / 450 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.2803, allocations: 1.343 MB / 451.4 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2803, allocations: 4 kB / 451.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.2806, allocations: 166.5 kB / 451.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.2808, allocations: 202 kB / 451.8 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.2811, allocations: 187.5 kB / 451.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2812, allocations: 28.97 kB / 452 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.2828, allocations: 3.812 MB / 455.8 MB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2828, allocations: 0.5469 kB / 455.8 MB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.2837, allocations: 0.84 MB / 456.6 MB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/0.2838, allocations: 26.39 kB / 456.6 MB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.284, allocations: 24.08 kB / 456.7 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2841, allocations: 74.45 kB / 456.7 MB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2842, allocations: 24.98 kB / 456.8 MB, free: 8.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004618/0.2846, allocations: 0.664 MB / 457.4 MB, free: 8.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2846, allocations: 0 / 457.4 MB, free: 8.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006535/0.2853, allocations: 453.9 kB / 457.9 MB, free: 7.742 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.0001997/0.2855, allocations: 153.4 kB / 458 MB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.2862, allocations: 0.8275 MB / 458.8 MB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.9e-05/0.2862, allocations: 28.59 kB / 458.9 MB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2867, allocations: 0.692 MB / 459.6 MB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.2895, allocations: 5.048 MB / 464.6 MB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.3075, allocations: 2.968 MB / 467.6 MB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3077, allocations: 301 kB / 467.9 MB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007148/0.3085, allocations: 278.9 kB / 468.1 MB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.3092, allocations: 0.49 MB / 468.6 MB, free: 12.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.71e-07/0.3092, allocations: 0 / 468.6 MB, free: 12.4 MB / 442.7 MB Notification: Performance of Templates: time 0.03516/0.3444, allocations: 29.02 MB / 497.7 MB, free: 0.5703 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1038822662085295]