Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.001632/0.001632, allocations: 107.7 kB / 18.68 MB, free: 3.168 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.005566/0.005566, allocations: 197.4 kB / 21.93 MB, free: 5.637 MB / 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.461/1.461, 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.7404/0.7404, allocations: 94.6 MB / 400.4 MB, free: 15.82 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 78.88 kB / 0.5464 GB, free: 42.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1044, allocations: 71.85 MB / 0.6166 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.4509/0.5553, allocations: 150.2 MB / 0.7633 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.5599, allocations: 4.67 MB / 0.7678 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.5605, allocations: 29.59 kB / 0.7678 GB, free: 3.395 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.5612, allocations: 296.2 kB / 0.7681 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5627, allocations: 0.6815 MB / 0.7688 GB, free: 3.367 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5639, allocations: 0.4996 MB / 0.7693 GB, free: 3.352 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.565, allocations: 0.9786 MB / 0.7702 GB, free: 3.352 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.5652, allocations: 101.4 kB / 0.7703 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.5663, allocations: 0.5299 MB / 0.7708 GB, free: 3.324 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.567, allocations: 472.9 kB / 0.7713 GB, free: 3.324 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.5671, allocations: 47.03 kB / 0.7713 GB, free: 3.32 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.5686, allocations: 0.7782 MB / 0.7721 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.5687, allocations: 119.9 kB / 0.7722 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.569, allocations: 317.6 kB / 0.7725 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5704, allocations: 0.967 MB / 0.7735 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5704, allocations: 0.875 kB / 0.7735 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5704, allocations: 0.5938 kB / 0.7735 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.5704, allocations: 2.016 kB / 0.7735 GB, free: 3.238 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001698/0.5721, allocations: 0.9941 MB / 0.7744 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5722, allocations: 7.625 kB / 0.7744 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.5723, allocations: 76.75 kB / 0.7745 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.5732, allocations: 0.5512 MB / 0.7751 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.5733, allocations: 34.53 kB / 0.7751 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.5733, allocations: 43.16 kB / 0.7751 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.574, allocations: 0.506 MB / 0.7756 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5741, allocations: 3.844 kB / 0.7756 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.5741, allocations: 18.64 kB / 0.7756 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5741, allocations: 14.38 kB / 0.7757 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.5748, allocations: 480.5 kB / 0.7761 GB, free: 18.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.5771, allocations: 2.174 MB / 0.7782 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.5778, allocations: 336.9 kB / 0.7786 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5781, allocations: 186.3 kB / 0.7787 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/0.5806, allocations: 1.992 MB / 0.7807 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.5806, allocations: 36.97 kB / 0.7807 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.5807, allocations: 1.062 kB / 0.7807 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001592/0.5822, allocations: 0.8034 MB / 0.7815 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.5823, allocations: 58.78 kB / 0.7816 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5827, allocations: 484.4 kB / 0.782 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.5828, allocations: 32.08 kB / 0.7821 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.5829, allocations: 275.2 kB / 0.7823 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.583, allocations: 171.4 kB / 0.7825 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.5831, allocations: 80.86 kB / 0.7826 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5833, allocations: 371.8 kB / 0.7829 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.5835, allocations: 128.9 kB / 0.783 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.5838, allocations: 191.5 kB / 0.7832 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.5843, allocations: 336.3 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5843, allocations: 2.266 kB / 0.7835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008247/0.5851, allocations: 0.5042 MB / 0.784 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5851, allocations: 7.281 kB / 0.784 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5852, allocations: 0 / 0.784 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.5854, allocations: 65.11 kB / 0.7841 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.5857, allocations: 97.14 kB / 0.7842 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.588, allocations: 2.92 MB / 0.787 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5882, allocations: 42.53 kB / 0.7871 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.5883, allocations: 21.28 kB / 0.7871 GB, free: 11.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.5885, allocations: 172.7 kB / 0.7873 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.5886, allocations: 59.88 kB / 0.7873 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.5898, allocations: 0.7119 MB / 0.788 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5898, allocations: 3.891 kB / 0.788 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5898, allocations: 2.125 kB / 0.788 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5899, allocations: 139 kB / 0.7882 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.59, allocations: 17.61 kB / 0.7882 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.5902, allocations: 7.688 kB / 0.7882 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.5902, allocations: 40.39 kB / 0.7882 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001015/0.5912, allocations: 0.5383 MB / 0.7888 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009967/0.5922, allocations: 0.7843 MB / 0.7895 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002551/0.5925, allocations: 162.1 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003508/0.5928, allocations: 369 kB / 0.79 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Backend: time 4.3e-07/0.5928, allocations: 1.094 kB / 0.79 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.5944, allocations: 0.7487 MB / 0.7908 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001934/0.5963, allocations: 1.601 MB / 0.7923 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.01756/0.6138, allocations: 11.63 MB / 0.8037 GB, free: 7.605 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.186220331990626]