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.0008068/0.0008068, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001814, 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.0007338/0.0007338, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008988/0.001633, 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 0.9823/0.9823, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07957/1.062, 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-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.6943/0.6943, allocations: 118.7 MB / 362.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06169/0.756, allocations: 35.84 MB / 398.5 MB, free: 13.36 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.392e-06/1.392e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.699e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.01214/0.01215, allocations: 17.24 MB / 417 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.02077, allocations: 5.102 MB / 422.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.02246, allocations: 119 kB / 422.3 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.02341, allocations: 0.55 MB / 422.8 MB, free: 4.957 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.02665, allocations: 1.924 MB / 424.7 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.02878, allocations: 0.9546 MB / 425.7 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1871/0.2159, allocations: 4.384 MB / 430.1 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008527/0.2168, allocations: 405.1 kB / 430.5 MB, free: 4.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.2204, allocations: 2.372 MB / 432.8 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.2223, allocations: 1.253 MB / 434.1 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.2229, allocations: 191.9 kB / 434.3 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.224, allocations: 391.8 kB / 434.7 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.2243, allocations: 379.3 kB / 435 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.2253, allocations: 0.7869 MB / 435.8 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.2271, allocations: 2.143 MB / 438 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-05/0.2272, allocations: 0 / 438 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2272, allocations: 0 / 438 MB, free: 3.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.773e-05/0.2272, allocations: 0 / 438 MB, free: 3.68 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.003696/0.2309, allocations: 3.547 MB / 441.5 MB, free: 18.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.231, allocations: 9.094 kB / 441.5 MB, free: 18.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.2316, allocations: 470 kB / 442 MB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.2331, allocations: 1.29 MB / 443.3 MB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.2332, allocations: 143 kB / 443.4 MB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2334, allocations: 192.9 kB / 443.6 MB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2346, allocations: 1.457 MB / 445.1 MB, free: 17.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.2347, allocations: 3.938 kB / 445.1 MB, free: 17.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.2347, allocations: 78.97 kB / 445.1 MB, free: 17.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2348, allocations: 50.62 kB / 445.2 MB, free: 17.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.2355, allocations: 0.7546 MB / 445.9 MB, free: 17.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.2395, allocations: 3.788 MB / 449.7 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.2405, allocations: 1.213 MB / 450.9 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.2409, allocations: 416.6 kB / 451.4 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.2436, allocations: 2 MB / 453.3 MB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006691/0.2443, allocations: 0.7608 MB / 454.1 MB, free: 12.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 3.477e-06/0.2443, allocations: 0.5 kB / 454.1 MB, free: 12.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.002026/0.2463, allocations: 1.353 MB / 455.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.2463, allocations: 159.7 kB / 455.6 MB, free: 10.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.247, allocations: 1.086 MB / 456.7 MB, free: 9.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.2471, allocations: 63.58 kB / 456.8 MB, free: 9.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.2474, allocations: 0.664 MB / 457.4 MB, free: 9.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.2478, allocations: 0.6999 MB / 458.1 MB, free: 8.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.248, allocations: 320.5 kB / 458.4 MB, free: 8.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.2481, allocations: 305.1 kB / 458.7 MB, free: 8.113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.2484, allocations: 256.9 kB / 459 MB, free: 7.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.2489, allocations: 0.7784 MB / 459.8 MB, free: 6.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007869/0.2497, allocations: 0.9004 MB / 460.7 MB, free: 6.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2497, allocations: 4 kB / 460.7 MB, free: 6.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001123/0.2508, allocations: 1.098 MB / 461.8 MB, free: 4.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2508, allocations: 33.7 kB / 461.8 MB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2508, allocations: 8.781 kB / 461.8 MB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/0.2512, allocations: 144.6 kB / 462 MB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.252, allocations: 465 kB / 462.4 MB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.2539, allocations: 3.828 MB / 466.2 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.2546, allocations: 152.6 kB / 466.4 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.2547, allocations: 63.97 kB / 466.5 MB, free: 128 kB / 426.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.0004202/0.2552, allocations: 219.2 kB / 466.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2553, allocations: 191.7 kB / 466.9 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.2573, allocations: 1.996 MB / 468.8 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.2573, allocations: 20 kB / 468.9 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2574, allocations: 4 kB / 468.9 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.2574, allocations: 15.95 kB / 468.9 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.2602, allocations: 2.269 MB / 471.2 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2602, allocations: 8 kB / 471.2 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.2609, allocations: 400.1 kB / 471.6 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.2613, allocations: 301.9 kB / 471.8 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.2616, allocations: 158 kB / 472 MB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.2617, allocations: 51.95 kB / 472.1 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.2635, allocations: 3.821 MB / 475.9 MB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2635, allocations: 0 / 475.9 MB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.265, allocations: 1.524 MB / 477.4 MB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.2651, allocations: 47.89 kB / 477.4 MB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/0.2658, allocations: 47.98 kB / 477.5 MB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.2659, allocations: 150.6 kB / 477.6 MB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.266, allocations: 47.97 kB / 477.7 MB, free: 5.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004001/0.2664, allocations: 0.5822 MB / 478.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2664, allocations: 4 kB / 478.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00115/0.2676, allocations: 0.6824 MB / 479 MB, free: 3.914 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.0002831/0.2678, allocations: 188.2 kB / 479.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.2692, allocations: 1.366 MB / 480.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.843e-05/0.2692, allocations: 27.38 kB / 480.5 MB, free: 2.355 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.2699, allocations: 0.9097 MB / 481.4 MB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.2719, allocations: 1.057 MB / 482.5 MB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/0.3004, allocations: 3.908 MB / 486.4 MB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3007, allocations: 373.6 kB / 486.8 MB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001516/0.3023, allocations: 444.4 kB / 487.2 MB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.3035, allocations: 0.6474 MB / 487.9 MB, free: 11.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.933e-06/0.3035, allocations: 0 / 487.9 MB, free: 11.05 MB / 458.7 MB Notification: Performance of Templates: time 0.04872/0.3522, allocations: 40.25 MB / 0.5157 GB, free: 3.742 MB / 490.7 MB " [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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.390327738597989]