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.0007868/0.0007868, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002094, 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.0008437/0.0008437, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001957, 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.041/1.041, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.146, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7369/0.7369, allocations: 118.7 MB / 362.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07577/0.8127, allocations: 35.83 MB / 398.7 MB, free: 13.08 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.483e-06/1.483e-06, allocations: 0 / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.935e-05, allocations: 9.625 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.00909/0.00911, allocations: 12.8 MB / 412.8 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005837/0.01495, allocations: 4.041 MB / 416.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.01574, allocations: 110.9 kB / 417 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.01629, allocations: 380.3 kB / 417.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.01786, allocations: 1.233 MB / 418.6 MB, free: 9.125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.01912, allocations: 0.7906 MB / 419.4 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.0213, allocations: 3.02 MB / 422.4 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.02175, allocations: 339.2 kB / 422.7 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.02357, allocations: 1.796 MB / 424.5 MB, free: 3.102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.02433, allocations: 0.767 MB / 425.3 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.02449, allocations: 128 kB / 425.4 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.02504, allocations: 307.6 kB / 425.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.02524, allocations: 274.6 kB / 426 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.02567, allocations: 0.5494 MB / 426.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2702/0.2959, allocations: 1.663 MB / 428.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.328e-05/0.2959, allocations: 2.922 kB / 428.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2959, allocations: 0 / 428.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.608e-05/0.296, allocations: 0 / 428.2 MB, free: 8.07 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.003729/0.2997, allocations: 2.904 MB / 431.1 MB, free: 6.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2998, allocations: 9.922 kB / 431.1 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006343/0.3004, allocations: 303.1 kB / 431.4 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.3022, allocations: 1.294 MB / 432.7 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.3023, allocations: 89.28 kB / 432.8 MB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3025, allocations: 130 kB / 432.9 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.3037, allocations: 0.9189 MB / 433.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3037, allocations: 5.219 kB / 433.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.3037, allocations: 48.81 kB / 433.9 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3038, allocations: 30.25 kB / 433.9 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.3044, allocations: 419.9 kB / 434.3 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.3075, allocations: 2.665 MB / 437 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.3083, allocations: 0.6444 MB / 437.6 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3085, allocations: 218 kB / 437.8 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.3098, allocations: 1.038 MB / 438.9 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3099, allocations: 42.62 kB / 438.9 MB, free: 4.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.124e-06/0.3099, allocations: 1.125 kB / 438.9 MB, free: 4.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.001042/0.3109, allocations: 0.7916 MB / 439.7 MB, free: 4.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3109, allocations: 63.31 kB / 439.8 MB, free: 4.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/0.3117, allocations: 1.219 MB / 441 MB, free: 4.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3117, allocations: 45.36 kB / 441 MB, free: 4.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3119, allocations: 0.5658 MB / 441.6 MB, free: 3.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3121, allocations: 353.1 kB / 442 MB, free: 3.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3122, allocations: 173.8 kB / 442.1 MB, free: 3.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.3122, allocations: 350.1 kB / 442.5 MB, free: 3.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3124, allocations: 99.2 kB / 442.6 MB, free: 3.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3126, allocations: 0.5488 MB / 443.1 MB, free: 2.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.313, allocations: 494.8 kB / 443.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.313, allocations: 3.031 kB / 443.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0006307/0.3136, allocations: 0.6273 MB / 444.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3137, allocations: 9.625 kB / 444.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3137, allocations: 4.281 kB / 444.2 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/0.3141, allocations: 175.9 kB / 444.4 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3145, allocations: 225.7 kB / 444.6 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.3162, allocations: 3.826 MB / 448.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3166, allocations: 92.39 kB / 448.5 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3166, allocations: 35.3 kB / 448.6 MB, free: 15.07 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.0002054/0.3168, allocations: 168.6 kB / 448.7 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3169, allocations: 130.9 kB / 448.9 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009953/0.3179, allocations: 1.106 MB / 450 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3179, allocations: 10.28 kB / 450 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3179, allocations: 2 kB / 450 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3179, allocations: 4.422 kB / 450 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.3193, allocations: 1.338 MB / 451.3 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3193, allocations: 6.812 kB / 451.3 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.3195, allocations: 164.7 kB / 451.5 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.3197, allocations: 202.8 kB / 451.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/0.3201, allocations: 194.2 kB / 451.9 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.3201, allocations: 22.98 kB / 451.9 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.322, allocations: 3.815 MB / 455.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.322, allocations: 0.9062 kB / 455.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.3228, allocations: 0.8393 MB / 456.6 MB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.3229, allocations: 31.55 kB / 456.6 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3231, allocations: 22.88 kB / 456.6 MB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3232, allocations: 69.86 kB / 456.7 MB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.3232, allocations: 25.66 kB / 456.7 MB, free: 8.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004967/0.3237, allocations: 0.6645 MB / 457.4 MB, free: 8.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 5.406 kB / 457.4 MB, free: 8.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.3245, allocations: 452.5 kB / 457.8 MB, free: 7.715 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.0002347/0.3247, allocations: 149.1 kB / 458 MB, free: 7.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.3255, allocations: 0.8281 MB / 458.8 MB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.007e-05/0.3255, allocations: 28.59 kB / 458.8 MB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.326, allocations: 0.6901 MB / 459.5 MB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.329, allocations: 5.055 MB / 464.6 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.3473, allocations: 2.962 MB / 467.5 MB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3476, allocations: 301 kB / 467.8 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008648/0.3485, allocations: 274.6 kB / 468.1 MB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/0.3493, allocations: 0.4974 MB / 468.6 MB, free: 12.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3493, allocations: 0 / 468.6 MB, free: 12.39 MB / 442.7 MB Notification: Performance of Templates: time 0.03599/0.3853, allocations: 29.02 MB / 497.6 MB, free: 0.5898 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.185076620429754]