Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001548/0.001548, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001739/0.001739, allocations: 213.6 kB / 22.24 MB, free: 5.238 MB / 14.72 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.7418/0.7418, allocations: 100.9 MB / 413.3 MB, free: 2.879 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 85.73 kB / 0.5646 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1185, allocations: 74.61 MB / 0.6374 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4508/0.5693, allocations: 143 MB / 0.777 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.5818, allocations: 11.87 MB / 0.7886 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.5829, allocations: 56.88 kB / 0.7887 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.5843, allocations: 0.5088 MB / 0.7892 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.5866, allocations: 0.8948 MB / 0.79 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5887, allocations: 0.806 MB / 0.7908 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.5903, allocations: 1.373 MB / 0.7922 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.5906, allocations: 196.5 kB / 0.7924 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.5917, allocations: 0.5831 MB / 0.7929 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/0.5925, allocations: 0.6198 MB / 0.7935 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.5926, allocations: 80.31 kB / 0.7936 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.5951, allocations: 1.227 MB / 0.7948 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.5952, allocations: 195.2 kB / 0.795 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.5956, allocations: 427.6 kB / 0.7954 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5977, allocations: 1.572 MB / 0.7969 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5977, allocations: 0 / 0.7969 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5977, allocations: 0 / 0.7969 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.5978, allocations: 1.156 kB / 0.7969 GB, free: 2.852 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002187/0.5999, allocations: 1.399 MB / 0.7983 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6, allocations: 10.59 kB / 0.7983 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.6002, allocations: 130.5 kB / 0.7984 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.6013, allocations: 0.7069 MB / 0.7991 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.6013, allocations: 53.94 kB / 0.7992 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.6014, allocations: 68.47 kB / 0.7992 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009743/0.6024, allocations: 0.7469 MB / 0.8 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6024, allocations: 0.875 kB / 0.8 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.6024, allocations: 25.78 kB / 0.8 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.6025, allocations: 17.62 kB / 0.8 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.6033, allocations: 0.6478 MB / 0.8007 GB, free: 17.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.6059, allocations: 1.735 MB / 0.8023 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.6069, allocations: 0.5243 MB / 0.8029 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.6073, allocations: 229.3 kB / 0.8031 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.6087, allocations: 0.8996 MB / 0.804 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.6088, allocations: 37.84 kB / 0.804 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.215e-06/0.6088, allocations: 0.8438 kB / 0.804 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.002867/0.6116, allocations: 1.559 MB / 0.8055 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.6117, allocations: 57.78 kB / 0.8056 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.6123, allocations: 0.6601 MB / 0.8062 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.6123, allocations: 34.55 kB / 0.8062 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.6125, allocations: 456.1 kB / 0.8067 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.6127, allocations: 202.6 kB / 0.8069 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.6128, allocations: 90.22 kB / 0.807 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6129, allocations: 328.3 kB / 0.8073 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.6132, allocations: 163.1 kB / 0.8074 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003392/0.6136, allocations: 227.4 kB / 0.8076 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.6143, allocations: 431.9 kB / 0.8081 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6143, allocations: 3.312 kB / 0.8081 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001129/0.6154, allocations: 0.646 MB / 0.8087 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6154, allocations: 8.938 kB / 0.8087 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6154, allocations: 0.9688 kB / 0.8087 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.6158, allocations: 117.9 kB / 0.8088 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.6161, allocations: 94.69 kB / 0.8089 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.6181, allocations: 1.907 MB / 0.8108 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.6184, allocations: 18.66 kB / 0.8108 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.6184, allocations: 20.98 kB / 0.8108 GB, free: 12.08 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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.000303/0.6187, allocations: 209.2 kB / 0.811 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.6189, allocations: 93.31 kB / 0.8111 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.6203, allocations: 0.8646 MB / 0.8119 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6204, allocations: 5.219 kB / 0.8119 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6204, allocations: 3.562 kB / 0.8119 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6204, allocations: 2.953 kB / 0.8119 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.6225, allocations: 1.329 MB / 0.8132 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6225, allocations: 0 / 0.8132 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.6227, allocations: 93.23 kB / 0.8133 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.6231, allocations: 118.7 kB / 0.8134 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.6231, allocations: 20.8 kB / 0.8135 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.6251, allocations: 1.889 MB / 0.8153 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6251, allocations: 0 / 0.8153 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.6267, allocations: 0.978 MB / 0.8163 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.6269, allocations: 86.94 kB / 0.8164 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.6269, allocations: 12.97 kB / 0.8164 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.6272, allocations: 14.19 kB / 0.8164 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.6273, allocations: 54.41 kB / 0.8164 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.6274, allocations: 20.94 kB / 0.8164 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005922/0.628, allocations: 483.6 kB / 0.8169 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.628, allocations: 0 / 0.8169 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009424/0.6289, allocations: 331 kB / 0.8172 GB, free: 8.309 MB / 0.5919 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.0007226/0.6296, allocations: 490.3 kB / 0.8177 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.6308, allocations: 0.5922 MB / 0.8183 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6308, allocations: 3.938 kB / 0.8183 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.6314, allocations: 413.2 kB / 0.8187 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.6324, allocations: 250.1 kB / 0.8189 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.6349, allocations: 1.603 MB / 0.8205 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.6352, allocations: 421.4 kB / 0.8209 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.6356, allocations: 140.1 kB / 0.821 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6358, allocations: 73.17 kB / 0.8211 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6358, allocations: 0 / 0.8211 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.02662/0.6624, allocations: 17.62 MB / 0.8383 GB, free: 14.62 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1908685732632875]