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.001266/0.001266, allocations: 78.41 kB / 19.76 MB, free: 1.898 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.001337/0.001337, allocations: 160.1 kB / 23.01 MB, free: 4.574 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 9.266 MB / 190.1 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.7324/0.7324, allocations: 79.62 MB / 339.4 MB, free: 11.53 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.002595/0.002595, allocations: 86.38 kB / 0.4923 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1121, allocations: 74.59 MB / 0.5652 GB, free: 6.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1552/0.2673, allocations: 129.1 MB / 0.6913 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005968/0.2732, allocations: 4.235 MB / 0.6954 GB, free: 304 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004626/0.2737, allocations: 39.62 kB / 0.6954 GB, free: 264 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.2696/0.5433, allocations: 266.4 kB / 0.6957 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.5451, allocations: 0.6605 MB / 0.6963 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.5463, allocations: 0.5131 MB / 0.6968 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.5473, allocations: 0.9923 MB / 0.6978 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.5475, allocations: 102 kB / 0.6979 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5486, allocations: 0.7055 MB / 0.6986 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.5492, allocations: 439.9 kB / 0.699 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.5492, allocations: 43.28 kB / 0.6991 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5505, allocations: 0.6506 MB / 0.6997 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5506, allocations: 118.7 kB / 0.6998 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.5508, allocations: 252.9 kB / 0.7001 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.5521, allocations: 0.9585 MB / 0.701 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5521, allocations: 1.406 kB / 0.701 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5521, allocations: 0.9375 kB / 0.701 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.5521, allocations: 1.094 kB / 0.701 GB, free: 4.055 MB / 0.5919 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.001564/0.5536, allocations: 0.9107 MB / 0.7019 GB, free: 19.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.5537, allocations: 11.53 kB / 0.7019 GB, free: 19.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.5541, allocations: 97 kB / 0.702 GB, free: 19.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.5549, allocations: 484.3 kB / 0.7024 GB, free: 19.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5549, allocations: 36.89 kB / 0.7025 GB, free: 19.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.555, allocations: 41.72 kB / 0.7025 GB, free: 19.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.5557, allocations: 0.5164 MB / 0.703 GB, free: 19.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5557, allocations: 0 / 0.703 GB, free: 19.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.5557, allocations: 18.53 kB / 0.703 GB, free: 19.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5558, allocations: 11.06 kB / 0.7031 GB, free: 19.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.5564, allocations: 490.5 kB / 0.7035 GB, free: 19.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.5583, allocations: 1.453 MB / 0.7049 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.559, allocations: 337.7 kB / 0.7053 GB, free: 18.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.5592, allocations: 182.1 kB / 0.7054 GB, free: 18.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.5611, allocations: 0.8413 MB / 0.7063 GB, free: 18.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5611, allocations: 40.33 kB / 0.7063 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.5611, allocations: 0 / 0.7063 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001318/0.5624, allocations: 0.6369 MB / 0.7069 GB, free: 18.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5624, allocations: 56.97 kB / 0.707 GB, free: 18.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.5629, allocations: 415.1 kB / 0.7074 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.5629, allocations: 35.42 kB / 0.7074 GB, free: 17.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.5631, allocations: 282.5 kB / 0.7077 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.5632, allocations: 171.1 kB / 0.7078 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.5633, allocations: 78.73 kB / 0.7079 GB, free: 17.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5635, allocations: 366.1 kB / 0.7083 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.5638, allocations: 127.9 kB / 0.7084 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.5641, allocations: 187.3 kB / 0.7086 GB, free: 17.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.5646, allocations: 340.4 kB / 0.7089 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5646, allocations: 0 / 0.7089 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008599/0.5655, allocations: 0.4948 MB / 0.7094 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5655, allocations: 6.844 kB / 0.7094 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5655, allocations: 2.281 kB / 0.7094 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.5657, allocations: 65.33 kB / 0.7094 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.5661, allocations: 90.97 kB / 0.7095 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.5683, allocations: 2.664 MB / 0.7121 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.5686, allocations: 32.84 kB / 0.7122 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.5686, allocations: 22.16 kB / 0.7122 GB, free: 14.77 MB / 0.6075 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.0002287/0.5689, allocations: 172.1 kB / 0.7123 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.569, allocations: 57.88 kB / 0.7124 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.5703, allocations: 0.6819 MB / 0.7131 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5703, allocations: 5 kB / 0.7131 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5703, allocations: 4.031 kB / 0.7131 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5703, allocations: 2.578 kB / 0.7131 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.572, allocations: 0.987 MB / 0.714 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.572, allocations: 7.25 kB / 0.714 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.5723, allocations: 70.66 kB / 0.7141 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.5726, allocations: 69.8 kB / 0.7142 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.5726, allocations: 14.7 kB / 0.7142 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.5748, allocations: 2.665 MB / 0.7168 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5748, allocations: 5.125 kB / 0.7168 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.576, allocations: 0.7329 MB / 0.7175 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.5761, allocations: 50.67 kB / 0.7176 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.5761, allocations: 14.64 kB / 0.7176 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5763, allocations: 12.53 kB / 0.7176 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.5764, allocations: 39.83 kB / 0.7176 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.5765, allocations: 18.08 kB / 0.7176 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003327/0.5768, allocations: 310.5 kB / 0.7179 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.5768, allocations: 0 / 0.7179 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006436/0.5774, allocations: 190.1 kB / 0.7181 GB, free: 11.4 MB / 0.6075 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.0003592/0.5778, allocations: 266.2 kB / 0.7184 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009224/0.5787, allocations: 0.5578 MB / 0.7189 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5787, allocations: 1.031 kB / 0.7189 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005667/0.5793, allocations: 419.8 kB / 0.7193 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.58, allocations: 133.1 kB / 0.7195 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5817, allocations: 1.118 MB / 0.7205 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.5819, allocations: 269 kB / 0.7208 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.5823, allocations: 106.6 kB / 0.7209 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5824, allocations: 55.45 kB / 0.721 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.5824, allocations: 2.531 kB / 0.721 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.01387/0.5962, allocations: 9.164 MB / 0.7299 GB, free: 9.133 MB / 0.6075 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/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: 5.725810579024255]