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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7573/0.7573, allocations: 94.59 MB / 400.4 MB, free: 15.8 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002498/0.002498, allocations: 86.48 kB / 0.5464 GB, free: 42.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1093, allocations: 71.84 MB / 0.6166 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4846/0.5939, allocations: 165.4 MB / 0.7781 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.6057, allocations: 13.07 MB / 0.7909 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6068, allocations: 40.84 kB / 0.7909 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.6083, allocations: 0.587 MB / 0.7915 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.6105, allocations: 0.8942 MB / 0.7924 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.6126, allocations: 0.8276 MB / 0.7932 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.6142, allocations: 1.361 MB / 0.7945 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.6145, allocations: 204.9 kB / 0.7947 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.6153, allocations: 0.5669 MB / 0.7952 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007257/0.616, allocations: 0.6733 MB / 0.7959 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6161, allocations: 76.5 kB / 0.796 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.6189, allocations: 1.407 MB / 0.7973 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.619, allocations: 199.6 kB / 0.7975 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.6194, allocations: 0.5096 MB / 0.798 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.6216, allocations: 1.587 MB / 0.7996 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6216, allocations: 0 / 0.7996 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6216, allocations: 0 / 0.7996 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.6216, allocations: 0.9062 kB / 0.7996 GB, free: 2.324 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.002283/0.6239, allocations: 1.474 MB / 0.801 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6239, allocations: 8.625 kB / 0.801 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.6241, allocations: 128.7 kB / 0.8012 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6252, allocations: 0.7863 MB / 0.8019 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.6252, allocations: 54.59 kB / 0.802 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.6253, allocations: 73.8 kB / 0.802 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.6264, allocations: 0.7362 MB / 0.8028 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6264, allocations: 0.7031 kB / 0.8028 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.6264, allocations: 29.59 kB / 0.8028 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.6265, allocations: 15.97 kB / 0.8028 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.6274, allocations: 0.6316 MB / 0.8034 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.6307, allocations: 3.112 MB / 0.8065 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6318, allocations: 0.5255 MB / 0.807 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.6321, allocations: 225.3 kB / 0.8072 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/0.6347, allocations: 2.597 MB / 0.8097 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.6347, allocations: 37.75 kB / 0.8098 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.924e-06/0.6347, allocations: 0.6875 kB / 0.8098 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003262/0.638, allocations: 1.791 MB / 0.8115 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.638, allocations: 59.69 kB / 0.8116 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.6388, allocations: 0.7062 MB / 0.8123 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.6388, allocations: 33.7 kB / 0.8123 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.639, allocations: 447.1 kB / 0.8127 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.6391, allocations: 209.1 kB / 0.8129 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.6393, allocations: 90.66 kB / 0.813 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6394, allocations: 322.7 kB / 0.8133 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.6397, allocations: 164.6 kB / 0.8135 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.6401, allocations: 226.9 kB / 0.8137 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/0.6409, allocations: 435.3 kB / 0.8141 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6409, allocations: 2.484 kB / 0.8141 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001233/0.6421, allocations: 0.6421 MB / 0.8147 GB, free: 10 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6422, allocations: 3.656 kB / 0.8147 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6422, allocations: 2.469 kB / 0.8147 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.6426, allocations: 120.9 kB / 0.8148 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.6429, allocations: 96.83 kB / 0.8149 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.6453, allocations: 2.054 MB / 0.8169 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.6456, allocations: 19.64 kB / 0.817 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.6457, allocations: 20.52 kB / 0.817 GB, free: 8.219 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.0003283/0.646, allocations: 211 kB / 0.8172 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6461, allocations: 99.77 kB / 0.8173 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.6477, allocations: 0.8551 MB / 0.8181 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6477, allocations: 4.984 kB / 0.8181 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6477, allocations: 0.7812 kB / 0.8181 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.6479, allocations: 157.9 kB / 0.8183 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.648, allocations: 15.03 kB / 0.8183 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.6483, allocations: 15.3 kB / 0.8183 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.6484, allocations: 51.44 kB / 0.8184 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.6499, allocations: 0.6944 MB / 0.819 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001452/0.6514, allocations: 0.9709 MB / 0.82 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003721/0.6517, allocations: 219.6 kB / 0.8202 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006251/0.6524, allocations: 0.5012 MB / 0.8207 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of Backend: time 5.01e-07/0.6524, allocations: 3.016 kB / 0.8207 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.6545, allocations: 0.9346 MB / 0.8216 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003092/0.6575, allocations: 2.204 MB / 0.8237 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.0321/0.6896, allocations: 17.93 MB / 0.8413 GB, free: 8.48 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_2/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: 7.2845932630007155]