Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001081/0.001081, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002603, 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002393, 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 0.9217/0.9217, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08659/1.008, allocations: 53.67 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.6505/0.6505, allocations: 118.8 MB / 362.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05792/0.7085, allocations: 35.85 MB / 398.8 MB, free: 13.21 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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.368e-05, allocations: 2.312 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.01132/0.01133, allocations: 17.26 MB / 417.3 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00534/0.01668, allocations: 5.102 MB / 422.4 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.01728, allocations: 111 kB / 422.5 MB, free: 5.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.0179, allocations: 0.55 MB / 423.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.01976, allocations: 1.92 MB / 425 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.02081, allocations: 0.9546 MB / 426 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2004/0.2212, allocations: 4.386 MB / 430.4 MB, free: 4.906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007748/0.222, allocations: 406.3 kB / 430.8 MB, free: 4.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.2255, allocations: 2.377 MB / 433.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.2269, allocations: 1.254 MB / 434.4 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.2272, allocations: 192.9 kB / 434.6 MB, free: 4.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008838/0.2281, allocations: 393.8 kB / 435 MB, free: 4.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.2283, allocations: 375.6 kB / 435.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.229, allocations: 0.7865 MB / 436.1 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.2305, allocations: 2.136 MB / 438.2 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2305, allocations: 0 / 438.2 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2305, allocations: 0 / 438.2 MB, free: 3.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.2306, allocations: 3.891 kB / 438.2 MB, free: 3.766 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: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.00265/0.2332, allocations: 3.545 MB / 441.8 MB, free: 18.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.02e-05/0.2332, allocations: 10.84 kB / 441.8 MB, free: 18.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.2337, allocations: 465.1 kB / 442.3 MB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.235, allocations: 1.298 MB / 443.6 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.2351, allocations: 143.7 kB / 443.7 MB, free: 17.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.2352, allocations: 192.9 kB / 443.9 MB, free: 17.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2363, allocations: 1.457 MB / 445.3 MB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.2363, allocations: 4.125 kB / 445.3 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.2364, allocations: 79.36 kB / 445.4 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.2364, allocations: 51.12 kB / 445.5 MB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.2371, allocations: 0.7592 MB / 446.2 MB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.2406, allocations: 3.774 MB / 450 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/0.2416, allocations: 1.218 MB / 451.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.242, allocations: 414.9 kB / 451.6 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.2444, allocations: 2.005 MB / 453.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.245, allocations: 0.7563 MB / 454.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 2.495e-06/0.245, allocations: 0.7812 kB / 454.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.001545/0.2465, allocations: 1.351 MB / 455.7 MB, free: 10.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2466, allocations: 158.9 kB / 455.9 MB, free: 10.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.2472, allocations: 1.09 MB / 457 MB, free: 9.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.2472, allocations: 66.77 kB / 457.1 MB, free: 9.633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.2475, allocations: 0.6637 MB / 457.7 MB, free: 9.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.2478, allocations: 0.6946 MB / 458.4 MB, free: 8.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.2481, allocations: 322.4 kB / 458.7 MB, free: 8.191 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.2481, allocations: 306.2 kB / 459 MB, free: 7.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2484, allocations: 256.4 kB / 459.3 MB, free: 7.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.2491, allocations: 0.7722 MB / 460 MB, free: 6.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.2498, allocations: 0.9175 MB / 461 MB, free: 5.824 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2498, allocations: 0 / 461 MB, free: 5.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001068/0.2509, allocations: 1.112 MB / 462.1 MB, free: 4.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2509, allocations: 33.7 kB / 462.1 MB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2509, allocations: 8 kB / 462.1 MB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.2512, allocations: 139.4 kB / 462.3 MB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.252, allocations: 468.2 kB / 462.7 MB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.2537, allocations: 3.835 MB / 466.5 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.2542, allocations: 156 kB / 466.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.2543, allocations: 63.97 kB / 466.8 MB, free: 15.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0002784/0.2546, allocations: 209.5 kB / 467 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.2548, allocations: 195.5 kB / 467.2 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.2568, allocations: 1.994 MB / 469.2 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2568, allocations: 20 kB / 469.2 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2568, allocations: 2.906 kB / 469.2 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.2568, allocations: 15.95 kB / 469.2 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.2597, allocations: 2.264 MB / 471.5 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2597, allocations: 9.156 kB / 471.5 MB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.2604, allocations: 398.9 kB / 471.9 MB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.2607, allocations: 308.6 kB / 472.2 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/0.261, allocations: 149 kB / 472.3 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.2611, allocations: 56.66 kB / 472.4 MB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.2629, allocations: 3.819 MB / 476.2 MB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2629, allocations: 3.281 kB / 476.2 MB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2645, allocations: 1.525 MB / 477.7 MB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2647, allocations: 51.92 kB / 477.8 MB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.265, allocations: 51.97 kB / 477.8 MB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.2652, allocations: 148.5 kB / 477.9 MB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.2652, allocations: 48.16 kB / 478 MB, free: 4.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004836/0.2657, allocations: 0.5742 MB / 478.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2657, allocations: 0 / 478.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001017/0.2667, allocations: 0.6863 MB / 479.3 MB, free: 3.652 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002453/0.267, allocations: 191.3 kB / 479.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.2681, allocations: 1.378 MB / 480.8 MB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.427e-05/0.2682, allocations: 31.38 kB / 480.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.2694, allocations: 1.057 MB / 481.9 MB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.2724, allocations: 4.386 MB / 486.3 MB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.2988, allocations: 3.898 MB / 490.2 MB, free: 7.945 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2991, allocations: 373.6 kB / 490.6 MB, free: 7.551 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.3002, allocations: 450.8 kB / 491 MB, free: 7.145 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.3014, allocations: 0.6435 MB / 491.6 MB, free: 6.484 MB / 458.7 MB Notification: Performance of SimCode: time 1.402e-06/0.3014, allocations: 4 kB / 491.6 MB, free: 6.48 MB / 458.7 MB Notification: Performance of Templates: time 0.04286/0.3442, allocations: 40.25 MB / 0.5194 GB, free: 15.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.314905025996268]