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.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.001591/0.001591, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001805/0.001805, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.797 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.8051/0.8051, allocations: 100.9 MB / 413.3 MB, free: 2.863 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.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: 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.002522/0.002522, allocations: 84.22 kB / 0.5645 GB, free: 35.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1202, allocations: 74.61 MB / 0.6374 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.4451/0.5654, allocations: 129.2 MB / 0.7636 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.5716, allocations: 4.238 MB / 0.7677 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.5722, allocations: 39.5 kB / 0.7677 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.573, allocations: 272.9 kB / 0.768 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.5744, allocations: 0.667 MB / 0.7687 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5756, allocations: 0.5142 MB / 0.7692 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.5765, allocations: 0.9934 MB / 0.7701 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.5767, allocations: 101.8 kB / 0.7702 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008711/0.5776, allocations: 0.5416 MB / 0.7708 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.578, allocations: 439.2 kB / 0.7712 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.5781, allocations: 44.69 kB / 0.7712 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.5793, allocations: 0.6537 MB / 0.7719 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.5794, allocations: 127.9 kB / 0.772 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.5797, allocations: 252 kB / 0.7722 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.581, allocations: 0.9492 MB / 0.7731 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.581, allocations: 0 / 0.7731 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.581, allocations: 4.719 kB / 0.7731 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.581, allocations: 1.812 kB / 0.7732 GB, free: 3.23 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001526/0.5826, allocations: 0.9093 MB / 0.774 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.5826, allocations: 10.59 kB / 0.774 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004134/0.583, allocations: 97.55 kB / 0.7741 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.5838, allocations: 484.7 kB / 0.7746 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.5839, allocations: 35.28 kB / 0.7746 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.5839, allocations: 47.7 kB / 0.7747 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.5846, allocations: 0.5095 MB / 0.7752 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5847, allocations: 7.484 kB / 0.7752 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.5847, allocations: 16.66 kB / 0.7752 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.5847, allocations: 12.2 kB / 0.7752 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.5855, allocations: 493.3 kB / 0.7757 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.5883, allocations: 1.444 MB / 0.7771 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.5891, allocations: 331.7 kB / 0.7774 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.5895, allocations: 183.9 kB / 0.7776 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.5915, allocations: 0.8385 MB / 0.7784 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5916, allocations: 38.12 kB / 0.7784 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.5916, allocations: 5.312 kB / 0.7784 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001445/0.593, allocations: 0.6315 MB / 0.7791 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5931, allocations: 60.44 kB / 0.7791 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.5934, allocations: 420.4 kB / 0.7795 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5935, allocations: 31.2 kB / 0.7796 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.5936, allocations: 284.8 kB / 0.7798 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.5937, allocations: 169.1 kB / 0.78 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5938, allocations: 81.17 kB / 0.7801 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.594, allocations: 362 kB / 0.7804 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5942, allocations: 129.1 kB / 0.7805 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.5945, allocations: 187.6 kB / 0.7807 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.595, allocations: 343.6 kB / 0.781 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.595, allocations: 1.188 kB / 0.781 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008087/0.5958, allocations: 0.4892 MB / 0.7815 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5958, allocations: 8.375 kB / 0.7815 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5958, allocations: 1.094 kB / 0.7815 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.5961, allocations: 70.19 kB / 0.7816 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.5964, allocations: 86.7 kB / 0.7817 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.5985, allocations: 2.666 MB / 0.7843 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.5987, allocations: 32.36 kB / 0.7843 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.5988, allocations: 22.44 kB / 0.7843 GB, free: 13.91 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.0002168/0.599, allocations: 174.3 kB / 0.7845 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.5991, allocations: 57.38 kB / 0.7846 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.6001, allocations: 0.6799 MB / 0.7852 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6001, allocations: 10.75 kB / 0.7852 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6001, allocations: 0 / 0.7852 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.6001, allocations: 3.594 kB / 0.7852 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.6015, allocations: 0.9874 MB / 0.7862 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6015, allocations: 3.344 kB / 0.7862 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.6018, allocations: 66.12 kB / 0.7863 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.602, allocations: 71.44 kB / 0.7863 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.602, allocations: 12.88 kB / 0.7863 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.604, allocations: 2.668 MB / 0.7889 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.604, allocations: 5.438 kB / 0.789 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.605, allocations: 0.7303 MB / 0.7897 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.6051, allocations: 54.03 kB / 0.7897 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.6051, allocations: 11.59 kB / 0.7897 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.6053, allocations: 13.8 kB / 0.7897 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.6054, allocations: 40.08 kB / 0.7898 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.6054, allocations: 18.22 kB / 0.7898 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002983/0.6057, allocations: 313.6 kB / 0.7901 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6057, allocations: 0.7188 kB / 0.7901 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006319/0.6064, allocations: 193.8 kB / 0.7903 GB, free: 10.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0003536/0.6067, allocations: 257.5 kB / 0.7905 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008827/0.6076, allocations: 0.57 MB / 0.7911 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6076, allocations: 0.7812 kB / 0.7911 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.6081, allocations: 422.2 kB / 0.7915 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.6088, allocations: 122 kB / 0.7916 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.6105, allocations: 1.123 MB / 0.7927 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6108, allocations: 273.8 kB / 0.793 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.6111, allocations: 106.5 kB / 0.7931 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6112, allocations: 54.17 kB / 0.7931 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.6112, allocations: 2.297 kB / 0.7931 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.01496/0.6262, allocations: 9.986 MB / 0.8029 GB, free: 8.109 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/jenkins/ws/OpenModelicaLibraryTestingWork/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.030643057078123]