Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001091/0.001091, allocations: 173 kB / 23.49 MB, free: 1.059 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.6997/0.6997, allocations: 118.6 MB / 378.9 MB, free: 1.48 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 483.6 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.541e-05, allocations: 3.406 kB / 483.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1548/0.1548, allocations: 160.8 MB / 0.6293 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1653, allocations: 11.65 MB / 0.6407 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1665, allocations: 63.38 kB / 0.6407 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.168, allocations: 0.5313 MB / 0.6413 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.1703, allocations: 0.9932 MB / 0.6422 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.1725, allocations: 0.8481 MB / 0.6431 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.1737, allocations: 1.577 MB / 0.6446 GB, free: 0 / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2906/0.4643, allocations: 191.2 kB / 0.6448 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.466, allocations: 0.856 MB / 0.6456 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/0.4669, allocations: 0.5776 MB / 0.6462 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.4671, allocations: 76.91 kB / 0.6463 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4696, allocations: 1.232 MB / 0.6475 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.4697, allocations: 208.7 kB / 0.6477 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.4702, allocations: 370.1 kB / 0.648 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.4724, allocations: 1.411 MB / 0.6494 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4724, allocations: 1.344 kB / 0.6494 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4724, allocations: 0.5 kB / 0.6494 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.609e-05/0.4724, allocations: 0 / 0.6494 GB, free: 14.52 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00212/0.4746, allocations: 1.588 MB / 0.6509 GB, free: 29.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4746, allocations: 9.625 kB / 0.651 GB, free: 29.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.4749, allocations: 218 kB / 0.6512 GB, free: 29.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.4758, allocations: 0.8377 MB / 0.652 GB, free: 29.24 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4759, allocations: 54.72 kB / 0.652 GB, free: 29.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.4759, allocations: 76.75 kB / 0.6521 GB, free: 29.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.4766, allocations: 0.5654 MB / 0.6527 GB, free: 29.11 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4766, allocations: 384 / 0.6527 GB, free: 29.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.4766, allocations: 33.44 kB / 0.6527 GB, free: 29.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4766, allocations: 18.75 kB / 0.6527 GB, free: 29.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.4771, allocations: 319.7 kB / 0.653 GB, free: 29.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.4791, allocations: 2.2 MB / 0.6552 GB, free: 28.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.4798, allocations: 482.5 kB / 0.6556 GB, free: 28.15 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.48, allocations: 150.5 kB / 0.6558 GB, free: 28.13 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.481, allocations: 0.9048 MB / 0.6567 GB, free: 27.78 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.481, allocations: 40.3 kB / 0.6567 GB, free: 27.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 2.134e-06/0.481, allocations: 0 / 0.6567 GB, free: 27.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=56): time 0.00198/0.483, allocations: 1.277 MB / 0.6579 GB, free: 27.29 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.483, allocations: 60.02 kB / 0.658 GB, free: 27.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.4838, allocations: 0.7356 MB / 0.6587 GB, free: 27.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4838, allocations: 35.52 kB / 0.6587 GB, free: 26.99 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.4842, allocations: 0.5376 MB / 0.6593 GB, free: 26.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4843, allocations: 202.1 kB / 0.6595 GB, free: 26.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.4844, allocations: 108 kB / 0.6596 GB, free: 26.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4846, allocations: 0.4921 MB / 0.66 GB, free: 26.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4848, allocations: 88.38 kB / 0.6601 GB, free: 26.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.485, allocations: 202.5 kB / 0.6603 GB, free: 26.01 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.4854, allocations: 329.1 kB / 0.6606 GB, free: 25.89 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4854, allocations: 3.172 kB / 0.6606 GB, free: 25.89 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008784/0.4863, allocations: 0.5424 MB / 0.6612 GB, free: 25.78 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4863, allocations: 8.812 kB / 0.6612 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4863, allocations: 1.203 kB / 0.6612 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.4868, allocations: 123.5 kB / 0.6613 GB, free: 25.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.487, allocations: 103.8 kB / 0.6614 GB, free: 25.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.4886, allocations: 2.142 MB / 0.6635 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.4888, allocations: 20.3 kB / 0.6635 GB, free: 24.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.4889, allocations: 28.47 kB / 0.6635 GB, free: 24.03 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.4891, allocations: 184.9 kB / 0.6637 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4892, allocations: 133.1 kB / 0.6638 GB, free: 23.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.4902, allocations: 0.7396 MB / 0.6646 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4902, allocations: 6.219 kB / 0.6646 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4902, allocations: 1.906 kB / 0.6646 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4903, allocations: 4.234 kB / 0.6646 GB, free: 23.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.4918, allocations: 1.237 MB / 0.6658 GB, free: 23.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4918, allocations: 3.141 kB / 0.6658 GB, free: 23.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.492, allocations: 86.58 kB / 0.6659 GB, free: 23.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.4924, allocations: 132.4 kB / 0.666 GB, free: 23.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.4924, allocations: 18.94 kB / 0.666 GB, free: 23.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.4943, allocations: 2.159 MB / 0.6681 GB, free: 21.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4943, allocations: 0 / 0.6681 GB, free: 21.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4953, allocations: 0.8114 MB / 0.6689 GB, free: 21.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.4955, allocations: 141.5 kB / 0.669 GB, free: 21.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.4956, allocations: 11.83 kB / 0.6691 GB, free: 21.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4958, allocations: 14.05 kB / 0.6691 GB, free: 21.15 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4959, allocations: 52.53 kB / 0.6691 GB, free: 21.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.4959, allocations: 20.27 kB / 0.6691 GB, free: 21.14 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000642/0.4966, allocations: 0.491 MB / 0.6696 GB, free: 20.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4966, allocations: 0.8438 kB / 0.6696 GB, free: 20.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009232/0.4975, allocations: 349.5 kB / 0.67 GB, free: 20.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007515/0.4982, allocations: 0.4929 MB / 0.6704 GB, free: 20.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000793/0.499, allocations: 0.5363 MB / 0.671 GB, free: 20.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.499, allocations: 0.5938 kB / 0.671 GB, free: 20.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.4995, allocations: 432.2 kB / 0.6714 GB, free: 20.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.5005, allocations: 359.3 kB / 0.6717 GB, free: 20.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.503, allocations: 1.639 MB / 0.6733 GB, free: 19.56 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.5032, allocations: 186.6 kB / 0.6735 GB, free: 19.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.5036, allocations: 162.7 kB / 0.6736 GB, free: 19.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.5037, allocations: 80 kB / 0.6737 GB, free: 19.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.312e-06/0.5037, allocations: 0.6562 kB / 0.6737 GB, free: 19.42 MB / 0.573 GB Notification: Performance of Templates: time 0.02082/0.5245, allocations: 18.62 MB / 0.6919 GB, free: 17.17 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_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.578742736950517]