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.001857/0.001857, allocations: 81.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002064/0.002064, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.022/1.022, allocations: 118.6 MB / 378.2 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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 2.565e-06/2.565e-06, allocations: 1.125 kB / 482.9 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.794e-05, allocations: 2.312 kB / 482.9 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.1196/0.1197, allocations: 85.03 MB / 0.5546 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1323, allocations: 5.5 MB / 0.56 GB, free: 6.281 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.1355, allocations: 123 kB / 0.5601 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.1395, allocations: 0.6787 MB / 0.5608 GB, free: 5.477 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.1545, allocations: 3.249 MB / 0.5639 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006745/0.1612, allocations: 1.573 MB / 0.5655 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006552/0.1678, allocations: 2.752 MB / 0.5682 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.169, allocations: 335.9 kB / 0.5685 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/0.1839, allocations: 4.613 MB / 0.573 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.187, allocations: 0.7829 MB / 0.5737 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.1876, allocations: 140 kB / 0.5739 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.2013, allocations: 4.277 MB / 0.5781 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.2026, allocations: 378.4 kB / 0.5784 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.2044, allocations: 0.5961 MB / 0.579 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.2162, allocations: 3.08 MB / 0.582 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2162, allocations: 0 / 0.582 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2162, allocations: 0 / 0.582 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.134e-05/0.2163, allocations: 0 / 0.582 GB, free: 15.62 MB / 0.5105 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.008301/0.2246, allocations: 2.54 MB / 0.5845 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.2246, allocations: 12.03 kB / 0.5845 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.2287, allocations: 0.5146 MB / 0.585 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.2323, allocations: 1.191 MB / 0.5862 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2325, allocations: 86.7 kB / 0.5862 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.2329, allocations: 131.9 kB / 0.5864 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.2368, allocations: 1.472 MB / 0.5878 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.2368, allocations: 0 / 0.5878 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.237, allocations: 44 kB / 0.5878 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.013e-05/0.2371, allocations: 50.33 kB / 0.5879 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.2401, allocations: 0.9732 MB / 0.5888 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.2502, allocations: 4.767 MB / 0.5935 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.2525, allocations: 0.7544 MB / 0.5942 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.2536, allocations: 475 kB / 0.5947 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.2542, allocations: 176.9 kB / 0.5949 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/0.2543, allocations: 50.38 kB / 0.5949 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 3.677e-06/0.2543, allocations: 0 / 0.5949 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.008494/0.2628, allocations: 2.986 MB / 0.5978 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.2628, allocations: 60.41 kB / 0.5979 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.2648, allocations: 1.205 MB / 0.5991 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.2649, allocations: 45.7 kB / 0.5991 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/0.2658, allocations: 0.8023 MB / 0.5999 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.2662, allocations: 412.7 kB / 0.6003 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/0.2666, allocations: 232.5 kB / 0.6005 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003568/0.267, allocations: 0.5472 MB / 0.601 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/0.2678, allocations: 338.5 kB / 0.6014 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.2689, allocations: 0.5672 MB / 0.6019 GB, free: 10.73 MB / 0.5261 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.002127/0.271, allocations: 0.9975 MB / 0.6029 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.271, allocations: 7.938 kB / 0.6029 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003232/0.2742, allocations: 1.374 MB / 0.6042 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2742, allocations: 4 kB / 0.6042 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2743, allocations: 4 kB / 0.6042 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.2754, allocations: 281.3 kB / 0.6045 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2764, allocations: 223.7 kB / 0.6047 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008582/0.285, allocations: 6.988 MB / 0.6115 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2862, allocations: 32.03 kB / 0.6116 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.2864, allocations: 63.95 kB / 0.6116 GB, free: 328 kB / 0.5261 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.0007617/0.2871, allocations: 336.3 kB / 0.612 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.2875, allocations: 194.9 kB / 0.6121 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.2911, allocations: 1.441 MB / 0.6136 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.2911, allocations: 12 kB / 0.6136 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2911, allocations: 4 kB / 0.6136 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.2911, allocations: 7.984 kB / 0.6136 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/0.2977, allocations: 2.869 MB / 0.6164 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.2977, allocations: 4 kB / 0.6164 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/0.2986, allocations: 179.8 kB / 0.6166 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.2997, allocations: 290.1 kB / 0.6168 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.2998, allocations: 39.97 kB / 0.6169 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00786/0.3076, allocations: 7.005 MB / 0.6237 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.3076, allocations: 4 kB / 0.6237 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.3119, allocations: 1.93 MB / 0.6256 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007656/0.3127, allocations: 226.9 kB / 0.6258 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.3129, allocations: 31.97 kB / 0.6258 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.3135, allocations: 39.98 kB / 0.6259 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.3138, allocations: 100.8 kB / 0.626 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.3139, allocations: 47.97 kB / 0.626 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001234/0.3151, allocations: 0.7273 MB / 0.6267 GB, free: 288 kB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3151, allocations: 3.938 kB / 0.6267 GB, free: 284 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002003/0.3171, allocations: 0.55 MB / 0.6273 GB, free: 15.72 MB / 0.5573 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.001272/0.3184, allocations: 0.5658 MB / 0.6278 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.3217, allocations: 1.585 MB / 0.6294 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.3217, allocations: 3.938 kB / 0.6294 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.3238, allocations: 1.157 MB / 0.6305 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.3268, allocations: 0.5597 MB / 0.6311 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.333, allocations: 3.03 MB / 0.634 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.3338, allocations: 0.6652 MB / 0.6347 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001335/0.3351, allocations: 343.5 kB / 0.635 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.3356, allocations: 144.4 kB / 0.6351 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of SimCode: time 3.346e-06/0.3356, allocations: 0 / 0.6351 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of Templates: time 0.2679/0.6035, allocations: 28.75 MB / 0.6632 GB, free: 155.8 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] 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: 7.509779358049855]