Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001453/0.001453, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001576/0.001576, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.7887/0.7887, allocations: 118.7 MB / 378.9 MB, free: 1.371 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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.032e-05, allocations: 10.25 kB / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.2228/0.2228, allocations: 17.18 MB / 448 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.2319, allocations: 5.083 MB / 453.1 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.2336, allocations: 112.5 kB / 453.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.2346, allocations: 0.5405 MB / 453.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.2379, allocations: 1.938 MB / 455.7 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.2402, allocations: 0.9746 MB / 456.7 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.2446, allocations: 4.37 MB / 461.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006787/0.2453, allocations: 407.7 kB / 461.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.248, allocations: 2.196 MB / 463.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.249, allocations: 1.253 MB / 464.9 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.2492, allocations: 191.6 kB / 465.1 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.25, allocations: 398 kB / 465.5 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.2502, allocations: 0.5103 MB / 466 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.2507, allocations: 0.9313 MB / 466.9 MB, free: 7.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.2522, allocations: 2.292 MB / 469.2 MB, free: 5.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2522, allocations: 0 / 469.2 MB, free: 5.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2522, allocations: 0 / 469.2 MB, free: 5.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.2522, allocations: 0 / 469.2 MB, free: 5.566 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.002362/0.2546, allocations: 2.875 MB / 472.1 MB, free: 2.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2546, allocations: 11.97 kB / 472.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.2552, allocations: 475.9 kB / 472.6 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2565, allocations: 1.29 MB / 473.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.2565, allocations: 144.1 kB / 474 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.2567, allocations: 192.3 kB / 474.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.258, allocations: 1.463 MB / 475.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.258, allocations: 2.812 kB / 475.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.2581, allocations: 76.38 kB / 475.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.2581, allocations: 55.94 kB / 475.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.259, allocations: 0.7485 MB / 476.5 MB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.2634, allocations: 3.768 MB / 480.3 MB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.2646, allocations: 1.216 MB / 481.5 MB, free: 9.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.265, allocations: 418.8 kB / 481.9 MB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.2677, allocations: 2.01 MB / 483.9 MB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.2684, allocations: 0.7563 MB / 484.7 MB, free: 5.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 3.887e-06/0.2684, allocations: 0 / 484.7 MB, free: 5.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.001864/0.2703, allocations: 1.359 MB / 486.1 MB, free: 4.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2704, allocations: 154.5 kB / 486.2 MB, free: 4.293 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.2712, allocations: 1.088 MB / 487.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.2712, allocations: 65.7 kB / 487.4 MB, free: 3.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.2716, allocations: 0.6642 MB / 488 MB, free: 2.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.272, allocations: 0.6969 MB / 488.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.2723, allocations: 319.4 kB / 489 MB, free: 1.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.2724, allocations: 313.1 kB / 489.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2728, allocations: 256.4 kB / 489.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.2733, allocations: 0.7668 MB / 490.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/0.2742, allocations: 0.9008 MB / 491.3 MB, free: 14.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2742, allocations: 0 / 491.3 MB, free: 14.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001197/0.2754, allocations: 1.104 MB / 492.4 MB, free: 13.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.2755, allocations: 33.7 kB / 492.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2755, allocations: 4 kB / 492.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.2758, allocations: 150.5 kB / 492.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.2766, allocations: 407.5 kB / 492.9 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.2787, allocations: 3.821 MB / 496.8 MB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.2793, allocations: 157.8 kB / 496.9 MB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.2794, allocations: 64.03 kB / 497 MB, free: 8.953 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.0003146/0.2797, allocations: 216.9 kB / 497.2 MB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2799, allocations: 191.8 kB / 497.4 MB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.282, allocations: 1.995 MB / 499.4 MB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.282, allocations: 24 kB / 499.4 MB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2821, allocations: 4.891 kB / 499.4 MB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.2821, allocations: 11.95 kB / 499.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.285, allocations: 2.277 MB / 0.4899 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.285, allocations: 0 / 0.4899 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.2856, allocations: 351.5 kB / 0.4903 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.2859, allocations: 156.5 kB / 0.4904 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.286, allocations: 51.95 kB / 0.4905 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.2881, allocations: 3.835 MB / 0.4942 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2881, allocations: 0 / 0.4942 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.2896, allocations: 1.529 MB / 0.4957 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.29, allocations: 306 kB / 0.496 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2901, allocations: 39.94 kB / 0.496 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.2905, allocations: 51.97 kB / 0.4961 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.2906, allocations: 145.7 kB / 0.4962 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.2907, allocations: 47.97 kB / 0.4963 GB, free: 13.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.2911, allocations: 0.5822 MB / 0.4968 GB, free: 12.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2911, allocations: 0 / 0.4968 GB, free: 12.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001072/0.2922, allocations: 0.6824 MB / 0.4975 GB, free: 12.17 MB / 458.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.0002965/0.2925, allocations: 195.1 kB / 0.4977 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.2937, allocations: 1.358 MB / 0.499 GB, free: 10.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/0.2938, allocations: 16 kB / 0.499 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.2945, allocations: 0.911 MB / 0.4999 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.2963, allocations: 0.8649 MB / 0.5008 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.301, allocations: 3.725 MB / 0.5044 GB, free: 4.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3013, allocations: 369.6 kB / 0.5048 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009613/0.3022, allocations: 440 kB / 0.5052 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.3034, allocations: 0.6513 MB / 0.5058 GB, free: 3.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.814e-06/0.3034, allocations: 0 / 0.5058 GB, free: 3.52 MB / 458.7 MB Notification: Performance of Templates: time 0.04294/0.3463, allocations: 38.75 MB / 0.5437 GB, free: 13.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.790239467751235]