Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001253/0.001253, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00191/0.003164, 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.001304/0.001304, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002878, 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 1.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09772/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.6932/0.6932, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07588/0.7691, allocations: 35.85 MB / 398.5 MB, free: 13.25 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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.592e-05, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.008945/0.008961, allocations: 10.44 MB / 410.2 MB, free: 1.488 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.01406, allocations: 3.653 MB / 413.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.01461, allocations: 75.25 kB / 413.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.01543, allocations: 0.6332 MB / 414.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.0169, allocations: 1.082 MB / 415.6 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.01816, allocations: 0.6855 MB / 416.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.01993, allocations: 2.243 MB / 418.5 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.02024, allocations: 237.9 kB / 418.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.0221, allocations: 1.693 MB / 420.5 MB, free: 7.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.02269, allocations: 0.5645 MB / 421 MB, free: 6.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.02279, allocations: 95.94 kB / 421.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.02327, allocations: 263.7 kB / 421.4 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.02345, allocations: 270.8 kB / 421.6 MB, free: 5.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.02377, allocations: 422.8 kB / 422.1 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.02492, allocations: 1.381 MB / 423.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.02494, allocations: 0 / 423.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02494, allocations: 0 / 423.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.02496, allocations: 4 kB / 423.4 MB, free: 4.133 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002069/0.02703, allocations: 2.471 MB / 425.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.02706, allocations: 16.03 kB / 425.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.02736, allocations: 224.5 kB / 426.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.02852, allocations: 1.125 MB / 427.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.02856, allocations: 66.38 kB / 427.3 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.02864, allocations: 84.38 kB / 427.4 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2066/0.2352, allocations: 0.648 MB / 428.1 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2352, allocations: 0.5 kB / 428.1 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.2353, allocations: 34.25 kB / 428.1 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.2353, allocations: 21.41 kB / 428.1 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.2356, allocations: 291.1 kB / 428.4 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.2383, allocations: 1.896 MB / 430.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2387, allocations: 451.4 kB / 430.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2389, allocations: 160.6 kB / 430.9 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.2401, allocations: 0.77 MB / 431.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2401, allocations: 42.47 kB / 431.7 MB, free: 9.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.505e-06/0.2401, allocations: 0.5625 kB / 431.7 MB, free: 9.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0009216/0.241, allocations: 0.5715 MB / 432.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2411, allocations: 63.2 kB / 432.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.242, allocations: 1.138 MB / 433.5 MB, free: 9.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.2421, allocations: 39.52 kB / 433.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.2423, allocations: 460.6 kB / 434 MB, free: 9.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.2424, allocations: 252.1 kB / 434.2 MB, free: 9.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.2425, allocations: 142.5 kB / 434.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2426, allocations: 337 kB / 434.7 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.2427, allocations: 68.52 kB / 434.8 MB, free: 9.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2429, allocations: 387.2 kB / 435.1 MB, free: 8.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.2432, allocations: 335.3 kB / 435.5 MB, free: 8.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2432, allocations: 1.344 kB / 435.5 MB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005676/0.2437, allocations: 460.4 kB / 435.9 MB, free: 8.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2438, allocations: 9.531 kB / 435.9 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2438, allocations: 3.156 kB / 435.9 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.2441, allocations: 120.2 kB / 436 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2444, allocations: 163 kB / 436.2 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.2455, allocations: 2.543 MB / 438.7 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.2458, allocations: 65.56 kB / 438.8 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.2458, allocations: 22.5 kB / 438.8 MB, free: 6.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.000186/0.246, allocations: 158.3 kB / 439 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2461, allocations: 109.7 kB / 439.1 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007731/0.2469, allocations: 0.746 MB / 439.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2469, allocations: 10.05 kB / 439.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2469, allocations: 1.625 kB / 439.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2469, allocations: 6 kB / 439.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.248, allocations: 1.027 MB / 440.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.248, allocations: 1.062 kB / 440.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2482, allocations: 125.3 kB / 441 MB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.2484, allocations: 205.4 kB / 441.2 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.2486, allocations: 130.5 kB / 441.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2487, allocations: 19.2 kB / 441.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008886/0.2496, allocations: 2.542 MB / 443.9 MB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2496, allocations: 3.938 kB / 443.9 MB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2501, allocations: 0.6344 MB / 444.5 MB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.2502, allocations: 24.33 kB / 444.5 MB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.2504, allocations: 20.64 kB / 444.6 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.2505, allocations: 55.3 kB / 444.6 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2505, allocations: 15.66 kB / 444.6 MB, free: 3.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.2509, allocations: 0.6116 MB / 445.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2509, allocations: 0 / 445.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006061/0.2516, allocations: 327.9 kB / 445.6 MB, free: 2.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.001251/0.2528, allocations: 0.515 MB / 446.1 MB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.2534, allocations: 0.5672 MB / 446.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-05/0.2535, allocations: 25.55 kB / 446.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.2537, allocations: 433.7 kB / 447.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.2549, allocations: 0.6349 MB / 447.7 MB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.2679, allocations: 2.479 MB / 450.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.2681, allocations: 273.9 kB / 450.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007176/0.2688, allocations: 227.4 kB / 450.7 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/0.2694, allocations: 400.2 kB / 451.1 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of SimCode: time 2.505e-06/0.2694, allocations: 2.078 kB / 451.1 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of Templates: time 0.02694/0.2964, allocations: 21.51 MB / 472.6 MB, free: 12.41 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_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: 3.9465441200882196]