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.000848/0.000848, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007919/0.0007919, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9054/0.9054, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.677/0.677, allocations: 116 MB / 376 MB, free: 4.191 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.135e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4133/0.4133, allocations: 144.9 MB / 0.696 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009285/0.4226, allocations: 10.3 MB / 0.706 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.4237, allocations: 62.94 kB / 0.7061 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.425, allocations: 0.5307 MB / 0.7066 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.4274, allocations: 0.9714 MB / 0.7075 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.4294, allocations: 0.8588 MB / 0.7084 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.431, allocations: 1.562 MB / 0.7099 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.4313, allocations: 200.5 kB / 0.7101 GB, free: 248 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.4325, allocations: 0.8535 MB / 0.7109 GB, free: 15.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007296/0.4333, allocations: 0.5636 MB / 0.7115 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4334, allocations: 74.66 kB / 0.7116 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.4355, allocations: 1.239 MB / 0.7128 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4357, allocations: 200.3 kB / 0.713 GB, free: 14.74 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.436, allocations: 369.5 kB / 0.7133 GB, free: 14.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.439, allocations: 1.664 MB / 0.7149 GB, free: 13.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.439, allocations: 3.25 kB / 0.7149 GB, free: 13.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.285e-06/0.439, allocations: 0 / 0.7149 GB, free: 13.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.439, allocations: 0 / 0.7149 GB, free: 13.54 MB / 0.573 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.002217/0.4412, allocations: 1.453 MB / 0.7164 GB, free: 12.42 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4413, allocations: 10.62 kB / 0.7164 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.4415, allocations: 138.3 kB / 0.7165 GB, free: 12.35 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.4425, allocations: 0.7623 MB / 0.7172 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4425, allocations: 56.44 kB / 0.7173 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.4426, allocations: 75.98 kB / 0.7174 GB, free: 11.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.4434, allocations: 0.7758 MB / 0.7181 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4435, allocations: 0 / 0.7181 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.4435, allocations: 25.84 kB / 0.7181 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4435, allocations: 18.41 kB / 0.7182 GB, free: 11.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.4442, allocations: 0.6585 MB / 0.7188 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.4465, allocations: 1.997 MB / 0.7208 GB, free: 9.359 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.4473, allocations: 0.5085 MB / 0.7213 GB, free: 9.082 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.4475, allocations: 220.5 kB / 0.7215 GB, free: 8.973 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.4486, allocations: 0.8775 MB / 0.7223 GB, free: 8.312 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4487, allocations: 37.97 kB / 0.7224 GB, free: 8.27 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 2.394e-06/0.4487, allocations: 4 kB / 0.7224 GB, free: 8.266 MB / 0.573 GB Notification: Performance of matching and sorting (n=56): time 0.002172/0.4508, allocations: 1.547 MB / 0.7239 GB, free: 7.344 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.4509, allocations: 56.91 kB / 0.7239 GB, free: 7.281 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.4515, allocations: 0.7192 MB / 0.7246 GB, free: 6.875 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4515, allocations: 40.27 kB / 0.7247 GB, free: 6.832 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.4517, allocations: 485.2 kB / 0.7251 GB, free: 6.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4518, allocations: 202.1 kB / 0.7253 GB, free: 6.234 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.4519, allocations: 94.25 kB / 0.7254 GB, free: 6.176 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.452, allocations: 327.4 kB / 0.7257 GB, free: 5.855 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.4522, allocations: 160.6 kB / 0.7259 GB, free: 5.781 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.4525, allocations: 248.7 kB / 0.7261 GB, free: 5.605 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.4529, allocations: 441.6 kB / 0.7265 GB, free: 5.344 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4529, allocations: 0 / 0.7265 GB, free: 5.344 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008145/0.4537, allocations: 0.6707 MB / 0.7272 GB, free: 4.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4538, allocations: 7.562 kB / 0.7272 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4538, allocations: 2.656 kB / 0.7272 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.4541, allocations: 111.6 kB / 0.7273 GB, free: 4.926 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4543, allocations: 112.3 kB / 0.7274 GB, free: 4.895 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.4557, allocations: 1.898 MB / 0.7293 GB, free: 3.242 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.4559, allocations: 15.59 kB / 0.7293 GB, free: 3.234 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.4559, allocations: 24.36 kB / 0.7293 GB, free: 3.227 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.0002409/0.4562, allocations: 213.6 kB / 0.7295 GB, free: 3.047 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4563, allocations: 103.5 kB / 0.7296 GB, free: 2.992 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009638/0.4572, allocations: 0.8649 MB / 0.7305 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4572, allocations: 7.531 kB / 0.7305 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4572, allocations: 2.906 kB / 0.7305 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4573, allocations: 3.984 kB / 0.7305 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.4587, allocations: 1.315 MB / 0.7318 GB, free: 1.539 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4587, allocations: 2.312 kB / 0.7318 GB, free: 1.539 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.4588, allocations: 87.05 kB / 0.7318 GB, free: 1.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.4591, allocations: 128.8 kB / 0.732 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.4591, allocations: 13.28 kB / 0.732 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4604, allocations: 1.893 MB / 0.7338 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4604, allocations: 0 / 0.7338 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4614, allocations: 0.9707 MB / 0.7348 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.4616, allocations: 144 kB / 0.7349 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.4616, allocations: 13.84 kB / 0.7349 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4618, allocations: 9.281 kB / 0.7349 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.4619, allocations: 50.69 kB / 0.735 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.4619, allocations: 21.42 kB / 0.735 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004038/0.4623, allocations: 0.5122 MB / 0.7355 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.4623, allocations: 0 / 0.7355 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007047/0.463, allocations: 345.5 kB / 0.7358 GB, free: 14.66 MB / 0.5886 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.0005681/0.4636, allocations: 0.495 MB / 0.7363 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007655/0.4643, allocations: 0.5942 MB / 0.7369 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4643, allocations: 0 / 0.7369 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.4647, allocations: 406.8 kB / 0.7373 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4656, allocations: 335.4 kB / 0.7376 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4678, allocations: 1.724 MB / 0.7393 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4681, allocations: 428.6 kB / 0.7397 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4682, allocations: 90.69 kB / 0.7398 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.4682, allocations: 0 / 0.7398 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of Templates: time 0.02028/0.4885, allocations: 20.51 MB / 0.7598 GB, free: 10.67 MB / 0.6042 GB " [Timeout remaining time 660] 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.815064538270235]