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.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.001555/0.001555, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001773/0.001773, allocations: 168.4 kB / 22.46 MB, free: 5.355 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.399/1.399, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7507/0.7507, allocations: 80.2 MB / 339.4 MB, free: 10.87 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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.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 1.483e-06/1.483e-06, allocations: 0 / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.289e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.08079/0.08081, allocations: 75.32 MB / 0.5664 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.09022, allocations: 4.976 MB / 0.5713 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.09196, allocations: 115.1 kB / 0.5714 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.09451, allocations: 0.6592 MB / 0.572 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009277/0.1038, allocations: 3.234 MB / 0.5752 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.1085, allocations: 1.534 MB / 0.5767 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.1125, allocations: 2.69 MB / 0.5793 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.1133, allocations: 335.7 kB / 0.5796 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009223/0.1225, allocations: 4.574 MB / 0.5841 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.1241, allocations: 0.7711 MB / 0.5849 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.1246, allocations: 136 kB / 0.585 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008715/0.1333, allocations: 4.27 MB / 0.5892 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006471/0.1339, allocations: 378.4 kB / 0.5895 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.1352, allocations: 0.5767 MB / 0.5901 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.142, allocations: 2.983 MB / 0.593 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.142, allocations: 0 / 0.593 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.142, allocations: 0 / 0.593 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.895e-05/0.1421, allocations: 0 / 0.593 GB, free: 8.777 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.005551/0.1477, allocations: 2.255 MB / 0.5952 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1477, allocations: 9.469 kB / 0.5952 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.1501, allocations: 350.6 kB / 0.5955 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.1524, allocations: 1.033 MB / 0.5965 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1525, allocations: 90.33 kB / 0.5966 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.1528, allocations: 127.9 kB / 0.5968 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.1564, allocations: 1.453 MB / 0.5982 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1564, allocations: 0 / 0.5982 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.1566, allocations: 59.98 kB / 0.5982 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.1567, allocations: 50.31 kB / 0.5983 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.1595, allocations: 1.09 MB / 0.5993 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008714/0.1682, allocations: 4.023 MB / 0.6033 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.1705, allocations: 0.8015 MB / 0.6041 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1716, allocations: 0.512 MB / 0.6046 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.1722, allocations: 172.9 kB / 0.6047 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1723, allocations: 43.56 kB / 0.6048 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=100): time 3.276e-06/0.1723, allocations: 0 / 0.6048 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=103): time 0.009148/0.1814, allocations: 3.203 MB / 0.6079 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1815, allocations: 64.34 kB / 0.608 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1828, allocations: 0.9052 MB / 0.6088 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.1829, allocations: 45.7 kB / 0.6089 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.1834, allocations: 0.6811 MB / 0.6095 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.1838, allocations: 380.7 kB / 0.6099 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.1842, allocations: 198.9 kB / 0.6101 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1843, allocations: 349.9 kB / 0.6104 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008907/0.1852, allocations: 398.4 kB / 0.6108 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.1863, allocations: 0.5504 MB / 0.6114 GB, free: 5.535 MB / 0.5137 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.00223/0.1886, allocations: 1.021 MB / 0.6123 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1886, allocations: 7.938 kB / 0.6124 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003149/0.1917, allocations: 1.413 MB / 0.6137 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1917, allocations: 6.344 kB / 0.6137 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1917, allocations: 4 kB / 0.6137 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008505/0.1926, allocations: 250.4 kB / 0.614 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1936, allocations: 231.7 kB / 0.6142 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006165/0.1998, allocations: 5.334 MB / 0.6194 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.2006, allocations: 40.02 kB / 0.6195 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.2007, allocations: 55.97 kB / 0.6195 GB, free: 12.81 MB / 0.5294 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: 16 * 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 (115): * Single equations (assignments): 112 * 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.0006303/0.2014, allocations: 304.5 kB / 0.6198 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.2017, allocations: 139.1 kB / 0.6199 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/0.2052, allocations: 1.534 MB / 0.6214 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.2053, allocations: 11.94 kB / 0.6214 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2053, allocations: 4 kB / 0.6214 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.2053, allocations: 3.984 kB / 0.6214 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005795/0.2111, allocations: 2.64 MB / 0.624 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.2111, allocations: 7.938 kB / 0.624 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/0.212, allocations: 187.8 kB / 0.6242 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007903/0.2128, allocations: 257 kB / 0.6245 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.2129, allocations: 43.91 kB / 0.6245 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/0.2189, allocations: 5.326 MB / 0.6297 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2189, allocations: 3.938 kB / 0.6297 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.2229, allocations: 1.968 MB / 0.6316 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.2232, allocations: 115.1 kB / 0.6317 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.2233, allocations: 39.94 kB / 0.6318 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.224, allocations: 43.95 kB / 0.6318 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.2243, allocations: 100.8 kB / 0.6319 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.2244, allocations: 47.97 kB / 0.632 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008326/0.2252, allocations: 0.5995 MB / 0.6325 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2252, allocations: 3.938 kB / 0.6325 GB, free: 14.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001616/0.2268, allocations: 0.5462 MB / 0.6331 GB, free: 14.42 MB / 0.545 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.001086/0.2279, allocations: 0.5753 MB / 0.6336 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.2309, allocations: 1.442 MB / 0.635 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2309, allocations: 0 / 0.635 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.2328, allocations: 0.9977 MB / 0.636 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.2353, allocations: 0.524 MB / 0.6365 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.2407, allocations: 2.915 MB / 0.6394 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.2415, allocations: 0.6515 MB / 0.64 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001004/0.2425, allocations: 364.4 kB / 0.6404 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.2429, allocations: 132.4 kB / 0.6405 GB, free: 6.664 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2429, allocations: 0 / 0.6405 GB, free: 6.664 MB / 0.545 GB Notification: Performance of Templates: time 0.05033/0.2932, allocations: 28.13 MB / 0.668 GB, free: 10.91 MB / 0.5762 GB " [Timeout remaining time 660] 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.426022678613663]