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.0007683/0.0007683, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007633/0.0007633, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.8302/0.8302, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.7 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.505/0.505, allocations: 80.18 MB / 340.1 MB, free: 7.559 MB / 314.7 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.924e-06/1.924e-06, allocations: 3.938 kB / 0.4936 GB, free: 6.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.107e-05, allocations: 5.484 kB / 0.4936 GB, free: 6.352 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.04912/0.04914, allocations: 75.32 MB / 0.5672 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.05446, allocations: 4.979 MB / 0.572 GB, free: 7.461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.05491, allocations: 111.1 kB / 0.5721 GB, free: 7.352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.05644, allocations: 0.6709 MB / 0.5728 GB, free: 6.676 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.06154, allocations: 3.222 MB / 0.5759 GB, free: 3.438 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.06389, allocations: 1.541 MB / 0.5774 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.06542, allocations: 2.69 MB / 0.5801 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.06579, allocations: 331.7 kB / 0.5804 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.06997, allocations: 4.578 MB / 0.5849 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.07058, allocations: 0.7595 MB / 0.5856 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.0707, allocations: 136 kB / 0.5857 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.07457, allocations: 4.273 MB / 0.5899 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.07476, allocations: 374.4 kB / 0.5903 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.07513, allocations: 0.5844 MB / 0.5908 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.07755, allocations: 2.976 MB / 0.5937 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.07756, allocations: 0 / 0.5937 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.07756, allocations: 0 / 0.5937 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.07757, allocations: 0 / 0.5937 GB, free: 1.129 MB / 0.4948 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.002286/0.07986, allocations: 2.263 MB / 0.5959 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.07989, allocations: 13.47 kB / 0.596 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.08087, allocations: 334.6 kB / 0.5963 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.08199, allocations: 1.041 MB / 0.5973 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.08204, allocations: 90.33 kB / 0.5974 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.08216, allocations: 127.9 kB / 0.5975 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.08375, allocations: 1.469 MB / 0.5989 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.08377, allocations: 0 / 0.5989 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.08384, allocations: 48 kB / 0.599 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.08388, allocations: 50.31 kB / 0.599 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.08527, allocations: 1.09 MB / 0.6001 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.08928, allocations: 4.016 MB / 0.604 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.0904, allocations: 0.8015 MB / 0.6048 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.09104, allocations: 0.5211 MB / 0.6053 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.09132, allocations: 172.8 kB / 0.6055 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.09134, allocations: 43.56 kB / 0.6055 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=100): time 1.914e-06/0.09134, allocations: 0 / 0.6055 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103): time 0.004414/0.09576, allocations: 3.198 MB / 0.6086 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.09579, allocations: 72.28 kB / 0.6087 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.09644, allocations: 0.9013 MB / 0.6096 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.09649, allocations: 45.7 kB / 0.6096 GB, free: 500 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.0968, allocations: 0.6891 MB / 0.6103 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.09698, allocations: 384.7 kB / 0.6107 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.09717, allocations: 198.9 kB / 0.6109 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.09725, allocations: 345.9 kB / 0.6112 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.09774, allocations: 398.4 kB / 0.6116 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.09833, allocations: 0.5465 MB / 0.6121 GB, free: 13.88 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.001186/0.09952, allocations: 1.022 MB / 0.6131 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.09952, allocations: 3.984 kB / 0.6131 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001614/0.1011, allocations: 1.405 MB / 0.6145 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1012, allocations: 11.98 kB / 0.6145 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1012, allocations: 11.94 kB / 0.6145 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.1016, allocations: 241.2 kB / 0.6147 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.102, allocations: 243.6 kB / 0.615 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.1053, allocations: 5.324 MB / 0.6202 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1056, allocations: 44.25 kB / 0.6202 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.1057, allocations: 55.97 kB / 0.6202 GB, free: 5.156 MB / 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.0003285/0.106, allocations: 305.5 kB / 0.6205 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1062, allocations: 147.1 kB / 0.6207 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.108, allocations: 1.521 MB / 0.6222 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.108, allocations: 15.94 kB / 0.6222 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.108, allocations: 4 kB / 0.6222 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.108, allocations: 3.984 kB / 0.6222 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.111, allocations: 2.632 MB / 0.6248 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.111, allocations: 4 kB / 0.6248 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.1114, allocations: 191.7 kB / 0.6249 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.1118, allocations: 263.6 kB / 0.6252 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.1119, allocations: 39.92 kB / 0.6252 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.1152, allocations: 5.324 MB / 0.6304 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1152, allocations: 4 kB / 0.6304 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.1173, allocations: 1.968 MB / 0.6324 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1174, allocations: 123.1 kB / 0.6325 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.1175, allocations: 27.94 kB / 0.6325 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.1178, allocations: 47.95 kB / 0.6326 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1179, allocations: 96.75 kB / 0.6326 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.118, allocations: 47.97 kB / 0.6327 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007185/0.1187, allocations: 0.5995 MB / 0.6333 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1187, allocations: 0 / 0.6333 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009506/0.1196, allocations: 0.5501 MB / 0.6338 GB, free: 6.777 MB / 0.5417 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.0006488/0.1203, allocations: 0.5723 MB / 0.6344 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.1218, allocations: 1.446 MB / 0.6358 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1218, allocations: 0 / 0.6358 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.1227, allocations: 0.9976 MB / 0.6368 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.124, allocations: 0.5226 MB / 0.6373 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.1273, allocations: 2.967 MB / 0.6402 GB, free: 132 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1679/0.2952, allocations: 0.6429 MB / 0.6408 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.2957, allocations: 148.4 kB / 0.6409 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/0.2957, allocations: 0 / 0.6409 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.02293/0.3186, allocations: 41.61 MB / 0.6816 GB, free: 112.5 MB / 0.5417 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: 7.612555297091603]