Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001924/0.001924, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6001/0.6001, allocations: 90.3 MB / 394.8 MB, free: 3.832 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 79.88 kB / 0.5386 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 70.84 MB / 0.6078 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.09249/0.4804, allocations: 77.19 MB / 0.6832 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.4953, allocations: 10.11 MB / 0.6931 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4967, allocations: 19.88 kB / 0.6931 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.4991, allocations: 0.6756 MB / 0.6937 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008881/0.508, allocations: 2.85 MB / 0.6965 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.5123, allocations: 1.488 MB / 0.698 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.5158, allocations: 2 MB / 0.6999 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.5166, allocations: 326.1 kB / 0.7002 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.5242, allocations: 3.814 MB / 0.704 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5258, allocations: 0.8754 MB / 0.7048 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005062/0.5264, allocations: 136 kB / 0.705 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009597/0.5359, allocations: 4.364 MB / 0.7092 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.5368, allocations: 334.8 kB / 0.7095 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.5384, allocations: 0.7464 MB / 0.7103 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.545, allocations: 2.589 MB / 0.7128 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.545, allocations: 0 / 0.7128 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.545, allocations: 0 / 0.7128 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.536e-05/0.5451, allocations: 3.984 kB / 0.7128 GB, free: 15.53 MB / 0.545 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.004736/0.5498, allocations: 2.023 MB / 0.7148 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5499, allocations: 12.03 kB / 0.7148 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.552, allocations: 295.7 kB / 0.7151 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.5532, allocations: 0.6991 MB / 0.7158 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.5533, allocations: 86.38 kB / 0.7158 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.5536, allocations: 127.9 kB / 0.716 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.5565, allocations: 1.298 MB / 0.7172 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.5565, allocations: 3.938 kB / 0.7172 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.5566, allocations: 48 kB / 0.7173 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.5567, allocations: 50.23 kB / 0.7173 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.5594, allocations: 1.071 MB / 0.7184 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008762/0.5681, allocations: 5.459 MB / 0.7237 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5705, allocations: 1.033 MB / 0.7247 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.5716, allocations: 0.5113 MB / 0.7252 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002093/0.5737, allocations: 2.416 MB / 0.7276 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.5737, allocations: 43.56 kB / 0.7276 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.775e-06/0.5737, allocations: 0 / 0.7276 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.00881/0.5825, allocations: 3.652 MB / 0.7312 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.5826, allocations: 64.34 kB / 0.7312 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.5837, allocations: 0.7516 MB / 0.732 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.5838, allocations: 49.7 kB / 0.732 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.5843, allocations: 0.5242 MB / 0.7325 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.5846, allocations: 388.6 kB / 0.7329 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.585, allocations: 194.9 kB / 0.7331 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.5852, allocations: 349.9 kB / 0.7334 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/0.5861, allocations: 402.4 kB / 0.7338 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.5871, allocations: 0.5456 MB / 0.7343 GB, free: 8.027 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.002272/0.5894, allocations: 1.238 MB / 0.7355 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5894, allocations: 288 / 0.7355 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003045/0.5924, allocations: 1.378 MB / 0.7369 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5924, allocations: 16.03 kB / 0.7369 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5924, allocations: 0 / 0.7369 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/0.5933, allocations: 251.7 kB / 0.7371 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/0.5943, allocations: 227.7 kB / 0.7374 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.6009, allocations: 5.768 MB / 0.743 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.6017, allocations: 40.02 kB / 0.743 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6018, allocations: 51.98 kB / 0.7431 GB, free: 14.53 MB / 0.5762 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 (114): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.000629/0.6025, allocations: 297.4 kB / 0.7434 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6027, allocations: 115.2 kB / 0.7435 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.6061, allocations: 1.506 MB / 0.7449 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.6061, allocations: 12 kB / 0.745 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6062, allocations: 7.984 kB / 0.745 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6062, allocations: 3.984 kB / 0.745 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/0.6125, allocations: 3.777 MB / 0.7487 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.6125, allocations: 7.938 kB / 0.7487 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.6134, allocations: 191.7 kB / 0.7488 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.6142, allocations: 258.7 kB / 0.7491 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6143, allocations: 43.97 kB / 0.7491 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/0.6205, allocations: 5.763 MB / 0.7548 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.6205, allocations: 8 kB / 0.7548 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.6244, allocations: 1.962 MB / 0.7567 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.6248, allocations: 176.4 kB / 0.7569 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.6249, allocations: 27.98 kB / 0.7569 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.6256, allocations: 47.91 kB / 0.7569 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.6258, allocations: 96.8 kB / 0.757 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6259, allocations: 47.97 kB / 0.7571 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008065/0.6267, allocations: 0.5224 MB / 0.7576 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6267, allocations: 0 / 0.7576 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001622/0.6283, allocations: 0.5033 MB / 0.7581 GB, free: 14.32 MB / 0.5919 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.001203/0.6295, allocations: 0.5558 MB / 0.7586 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002999/0.6325, allocations: 1.453 MB / 0.76 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6325, allocations: 0 / 0.76 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.6344, allocations: 0.998 MB / 0.761 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.6361, allocations: 357.5 kB / 0.7613 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.641, allocations: 2.768 MB / 0.764 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.6419, allocations: 1.136 MB / 0.7652 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001059/0.643, allocations: 304.1 kB / 0.7654 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.6434, allocations: 123.3 kB / 0.7656 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of SimCode: time 1.522e-06/0.6434, allocations: 4 kB / 0.7656 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.04559/0.689, allocations: 25.47 MB / 0.7904 GB, free: 13.25 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConductionElement.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.611751552671194]