Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007936/0.007936, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 198 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7295/0.7295, allocations: 93.71 MB / 384.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 87.86 kB / 0.5204 GB, free: 5.809 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1457, allocations: 68.27 MB / 0.5871 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3686/0.5143, allocations: 76.55 MB / 0.6618 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5291, allocations: 10.17 MB / 0.6718 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.5319, allocations: 73.81 kB / 0.6718 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.5345, allocations: 0.7039 MB / 0.6725 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.5446, allocations: 2.948 MB / 0.6754 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.5488, allocations: 1.451 MB / 0.6768 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.5528, allocations: 2.313 MB / 0.6791 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.554, allocations: 0.5346 MB / 0.6796 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00824/0.5623, allocations: 3.922 MB / 0.6834 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.564, allocations: 0.8905 MB / 0.6843 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.5643, allocations: 136 kB / 0.6844 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008753/0.573, allocations: 4.313 MB / 0.6887 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.5736, allocations: 346.6 kB / 0.689 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.5747, allocations: 0.8082 MB / 0.6898 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/0.5808, allocations: 2.834 MB / 0.6925 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.5808, allocations: 0 / 0.6925 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.078e-06/0.5808, allocations: 0 / 0.6925 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.5808, allocations: 3.938 kB / 0.6925 GB, free: 6.641 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004734/0.5856, allocations: 2.295 MB / 0.6948 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5856, allocations: 15.97 kB / 0.6948 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5877, allocations: 330.8 kB / 0.6951 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.5897, allocations: 1.121 MB / 0.6962 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/0.5898, allocations: 82.25 kB / 0.6963 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.5901, allocations: 124 kB / 0.6964 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5929, allocations: 1.294 MB / 0.6977 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.593, allocations: 7.938 kB / 0.6977 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5931, allocations: 47.98 kB / 0.6977 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/0.5932, allocations: 54.17 kB / 0.6978 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.5957, allocations: 1.059 MB / 0.6988 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008266/0.604, allocations: 5.548 MB / 0.7042 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.6062, allocations: 1.077 MB / 0.7053 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.6073, allocations: 0.5627 MB / 0.7058 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.6092, allocations: 2.412 MB / 0.7082 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.6093, allocations: 47.5 kB / 0.7082 GB, free: 5.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.915e-06/0.6093, allocations: 0 / 0.7082 GB, free: 5.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.009057/0.6184, allocations: 3.731 MB / 0.7119 GB, free: 1.477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.6184, allocations: 60.41 kB / 0.7119 GB, free: 1.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.62, allocations: 1.029 MB / 0.7129 GB, free: 380 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.6201, allocations: 41.7 kB / 0.713 GB, free: 332 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.6207, allocations: 0.6431 MB / 0.7136 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.621, allocations: 384.7 kB / 0.714 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.6214, allocations: 186.9 kB / 0.7141 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.6217, allocations: 349.9 kB / 0.7145 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.6226, allocations: 390.4 kB / 0.7149 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.6237, allocations: 0.5339 MB / 0.7154 GB, free: 13.8 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.6259, allocations: 1.222 MB / 0.7166 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6259, allocations: 0 / 0.7166 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003001/0.6289, allocations: 1.405 MB / 0.7179 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.629, allocations: 8.094 kB / 0.7179 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.629, allocations: 7.203 kB / 0.718 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008412/0.6298, allocations: 236.2 kB / 0.7182 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/0.6308, allocations: 223.7 kB / 0.7184 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.637, allocations: 5.753 MB / 0.724 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.6378, allocations: 40.02 kB / 0.7241 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.638, allocations: 51.97 kB / 0.7241 GB, free: 4.32 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005738/0.6386, allocations: 301.6 kB / 0.7244 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.6389, allocations: 151 kB / 0.7245 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.6424, allocations: 1.554 MB / 0.7261 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6424, allocations: 12 kB / 0.7261 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.6425, allocations: 4 kB / 0.7261 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.6425, allocations: 7.969 kB / 0.7261 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.6489, allocations: 3.88 MB / 0.7299 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.649, allocations: 7.938 kB / 0.7299 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/0.6499, allocations: 191.7 kB / 0.7301 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/0.6507, allocations: 254.6 kB / 0.7303 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.6508, allocations: 39.97 kB / 0.7303 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006117/0.657, allocations: 5.759 MB / 0.736 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.657, allocations: 8 kB / 0.736 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.661, allocations: 2.003 MB / 0.7379 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.6614, allocations: 216 kB / 0.7381 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.6616, allocations: 28 kB / 0.7382 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/0.6623, allocations: 47.95 kB / 0.7382 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.6626, allocations: 104.7 kB / 0.7383 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.6627, allocations: 43.97 kB / 0.7383 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001024/0.6637, allocations: 0.6886 MB / 0.739 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6637, allocations: 0 / 0.739 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001689/0.6654, allocations: 0.5072 MB / 0.7395 GB, free: 3.684 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,14,75.0%), (1,3,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.001211/0.6666, allocations: 0.5627 MB / 0.7401 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003018/0.6697, allocations: 1.485 MB / 0.7415 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6697, allocations: 0 / 0.7415 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.6716, allocations: 1.025 MB / 0.7425 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6733, allocations: 373.5 kB / 0.7429 GB, free: 188 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.6785, allocations: 3.113 MB / 0.7459 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.6795, allocations: 1.218 MB / 0.7471 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001046/0.6805, allocations: 357.8 kB / 0.7474 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.6809, allocations: 131.3 kB / 0.7476 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.681, allocations: 0 / 0.7476 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.04811/0.7291, allocations: 25.53 MB / 0.7725 GB, free: 1.973 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches