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.0009832/0.0009832, allocations: 80.94 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.0009903/0.0009903, allocations: 177 kB / 23.36 MB, free: 1.125 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 1.045/1.045, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7596/0.7596, allocations: 118.6 MB / 378.9 MB, free: 1.344 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|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 2.474e-06/2.474e-06, allocations: 0 / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.646e-05, allocations: 2.312 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01485/0.01488, allocations: 12.75 MB / 443.6 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2219/0.2368, allocations: 4.013 MB / 447.6 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.2385, allocations: 115 kB / 447.7 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2398, allocations: 374.2 kB / 448.1 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.2429, allocations: 1.245 MB / 449.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.2451, allocations: 0.798 MB / 450.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.2484, allocations: 3.02 MB / 453.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.249, allocations: 334.1 kB / 453.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.2516, allocations: 1.573 MB / 455 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2528, allocations: 0.7576 MB / 455.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.253, allocations: 130.8 kB / 455.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.2539, allocations: 307.9 kB / 456.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.2541, allocations: 372.7 kB / 456.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007971/0.2549, allocations: 0.6385 MB / 457.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.2572, allocations: 1.781 MB / 459 MB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2572, allocations: 0 / 459 MB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2572, allocations: 0 / 459 MB, free: 12.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-05/0.2573, allocations: 0 / 459 MB, free: 12.26 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.003325/0.2606, allocations: 2.378 MB / 461.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2607, allocations: 9.812 kB / 461.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/0.2612, allocations: 312.5 kB / 461.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.263, allocations: 1.298 MB / 463 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.263, allocations: 89.92 kB / 463.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.2631, allocations: 123.5 kB / 463.2 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.2639, allocations: 0.9268 MB / 464.1 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.2639, allocations: 4.312 kB / 464.1 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.2639, allocations: 51.94 kB / 464.2 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.264, allocations: 28 kB / 464.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.2644, allocations: 424.4 kB / 464.6 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.2671, allocations: 2.655 MB / 467.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.2676, allocations: 0.6402 MB / 467.9 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2678, allocations: 219.7 kB / 468.1 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.2692, allocations: 1.034 MB / 469.2 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2692, allocations: 43.56 kB / 469.2 MB, free: 3.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.054e-06/0.2692, allocations: 0 / 469.2 MB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.0009842/0.2702, allocations: 0.7947 MB / 470 MB, free: 3.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.2702, allocations: 64.39 kB / 470.1 MB, free: 2.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.2708, allocations: 1.223 MB / 471.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2709, allocations: 41.7 kB / 471.3 MB, free: 1.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.2711, allocations: 0.5642 MB / 471.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2712, allocations: 354.3 kB / 472.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2713, allocations: 176.2 kB / 472.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.2713, allocations: 356.7 kB / 472.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.2714, allocations: 93.95 kB / 472.9 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.2717, allocations: 0.5536 MB / 473.4 MB, free: 15.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.2721, allocations: 480.7 kB / 473.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2721, allocations: 4 kB / 473.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007024/0.2728, allocations: 0.6223 MB / 474.5 MB, free: 14.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2728, allocations: 8 kB / 474.5 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2729, allocations: 4.469 kB / 474.5 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.2733, allocations: 177.8 kB / 474.7 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.2737, allocations: 203.7 kB / 474.9 MB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.2757, allocations: 3.812 MB / 478.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.2761, allocations: 91.95 kB / 478.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.2762, allocations: 31.98 kB / 478.8 MB, free: 10.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.0002314/0.2764, allocations: 168.4 kB / 479 MB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2765, allocations: 139.9 kB / 479.1 MB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.2776, allocations: 1.104 MB / 480.2 MB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2776, allocations: 8.516 kB / 480.2 MB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2776, allocations: 8 kB / 480.3 MB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.2776, allocations: 3.984 kB / 480.3 MB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.2792, allocations: 1.344 MB / 481.6 MB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2792, allocations: 4.031 kB / 481.6 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.2794, allocations: 147.8 kB / 481.7 MB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.2799, allocations: 185.4 kB / 481.9 MB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.2799, allocations: 27.98 kB / 482 MB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.2818, allocations: 3.826 MB / 485.8 MB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2818, allocations: 0 / 485.8 MB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.2827, allocations: 0.8373 MB / 486.6 MB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.2829, allocations: 198.5 kB / 486.8 MB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2831, allocations: 31.89 kB / 486.8 MB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2833, allocations: 26.28 kB / 486.9 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2834, allocations: 72.8 kB / 486.9 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.2835, allocations: 23.98 kB / 487 MB, free: 1.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004935/0.2839, allocations: 0.6715 MB / 487.6 MB, free: 1.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2839, allocations: 0 / 487.6 MB, free: 1.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008081/0.2848, allocations: 459.1 kB / 488.1 MB, free: 0.8789 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.0002166/0.285, allocations: 134.8 kB / 488.2 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008122/0.2858, allocations: 0.809 MB / 489 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.2858, allocations: 25.06 kB / 489.1 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.2862, allocations: 0.6358 MB / 489.7 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2877, allocations: 0.7116 MB / 490.4 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.2913, allocations: 2.813 MB / 493.2 MB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2915, allocations: 282 kB / 493.5 MB, free: 11.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007095/0.2922, allocations: 276 kB / 493.8 MB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.293, allocations: 0.5029 MB / 494.3 MB, free: 10.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.293, allocations: 0 / 494.3 MB, free: 10.64 MB / 442.7 MB Notification: Performance of Templates: time 0.03425/0.3272, allocations: 27.9 MB / 0.5099 GB, free: 15.5 MB / 474.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.283015189226717]