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.001287/0.001287, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001422/0.001422, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8254/0.8254, allocations: 100.9 MB / 414.1 MB, free: 2.855 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.002513/0.002513, allocations: 83.75 kB / 0.5653 GB, free: 35.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.133, allocations: 74.61 MB / 0.6381 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.51/0.6429, allocations: 143 MB / 0.7778 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.6563, allocations: 11.86 MB / 0.7893 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.6575, allocations: 57.75 kB / 0.7894 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.6589, allocations: 0.5114 MB / 0.7899 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.6611, allocations: 0.894 MB / 0.7908 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.6631, allocations: 0.8023 MB / 0.7916 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.6643, allocations: 1.376 MB / 0.7929 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.6648, allocations: 195 kB / 0.7931 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.6659, allocations: 0.5829 MB / 0.7937 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009464/0.6669, allocations: 0.6265 MB / 0.7943 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.667, allocations: 75.62 kB / 0.7943 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.6694, allocations: 1.229 MB / 0.7955 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.6695, allocations: 192.8 kB / 0.7957 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.6698, allocations: 420.6 kB / 0.7961 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6716, allocations: 1.573 MB / 0.7977 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6716, allocations: 3.5 kB / 0.7977 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6716, allocations: 1.062 kB / 0.7977 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.6716, allocations: 0 / 0.7977 GB, free: 2.387 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.002162/0.6738, allocations: 1.395 MB / 0.799 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6738, allocations: 10.72 kB / 0.799 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.674, allocations: 131 kB / 0.7992 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.6751, allocations: 0.7084 MB / 0.7999 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.6752, allocations: 54.56 kB / 0.7999 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.6753, allocations: 69.42 kB / 0.8 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.6763, allocations: 0.7444 MB / 0.8007 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6763, allocations: 0.9062 kB / 0.8007 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.6764, allocations: 28.69 kB / 0.8007 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6764, allocations: 17 kB / 0.8007 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.6773, allocations: 0.647 MB / 0.8014 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.6797, allocations: 1.737 MB / 0.8031 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.6808, allocations: 0.5239 MB / 0.8036 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.6812, allocations: 224.7 kB / 0.8038 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.6827, allocations: 0.9089 MB / 0.8047 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.6828, allocations: 37.56 kB / 0.8047 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.763e-06/0.6828, allocations: 0.7188 kB / 0.8047 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.00287/0.6856, allocations: 1.559 MB / 0.8062 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.6857, allocations: 58.5 kB / 0.8063 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/0.6863, allocations: 0.6538 MB / 0.8069 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.6864, allocations: 37.48 kB / 0.807 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.6866, allocations: 449 kB / 0.8074 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.6868, allocations: 209.5 kB / 0.8076 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.6869, allocations: 90.77 kB / 0.8077 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6871, allocations: 324.9 kB / 0.808 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.6874, allocations: 166.2 kB / 0.8082 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.6877, allocations: 227.6 kB / 0.8084 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.6885, allocations: 437.1 kB / 0.8088 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6885, allocations: 0 / 0.8088 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001178/0.6896, allocations: 0.6518 MB / 0.8094 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6897, allocations: 12.19 kB / 0.8094 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6897, allocations: 2.312 kB / 0.8094 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.6901, allocations: 110.9 kB / 0.8096 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.6904, allocations: 99.36 kB / 0.8096 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.6926, allocations: 1.898 MB / 0.8115 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.6929, allocations: 17.64 kB / 0.8115 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.6929, allocations: 27.72 kB / 0.8115 GB, free: 11.97 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.0003023/0.6932, allocations: 204.9 kB / 0.8117 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6934, allocations: 86.28 kB / 0.8118 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.6949, allocations: 0.863 MB / 0.8127 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6949, allocations: 6.531 kB / 0.8127 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6949, allocations: 2.75 kB / 0.8127 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6949, allocations: 4.094 kB / 0.8127 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.6971, allocations: 1.33 MB / 0.814 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6971, allocations: 1.031 kB / 0.814 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.6974, allocations: 92.09 kB / 0.8141 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/0.6977, allocations: 128.5 kB / 0.8142 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.6977, allocations: 17.12 kB / 0.8142 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.6999, allocations: 1.888 MB / 0.816 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6999, allocations: 4.312 kB / 0.8161 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.7015, allocations: 0.982 MB / 0.817 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.7016, allocations: 80.98 kB / 0.8171 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.7017, allocations: 12.88 kB / 0.8171 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.702, allocations: 18.64 kB / 0.8171 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.7021, allocations: 49.45 kB / 0.8172 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.7021, allocations: 23.22 kB / 0.8172 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005454/0.7026, allocations: 479.4 kB / 0.8176 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7026, allocations: 0.875 kB / 0.8176 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008664/0.7035, allocations: 331 kB / 0.818 GB, free: 8.203 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.0007526/0.7043, allocations: 491.8 kB / 0.8184 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.7054, allocations: 0.5913 MB / 0.819 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7054, allocations: 0 / 0.819 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.7061, allocations: 414.4 kB / 0.8194 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.7071, allocations: 256 kB / 0.8196 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7097, allocations: 1.636 MB / 0.8212 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.7101, allocations: 421 kB / 0.8216 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.7102, allocations: 80.03 kB / 0.8217 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.7102, allocations: 0 / 0.8217 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of Templates: time 0.02383/0.7341, allocations: 19.19 MB / 0.8405 GB, free: 12.75 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/jenkins1/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: 10.02831414109096]