Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement.rear.m_flow|conductionElement1.h|conductionElement1.rear.m_flow|conductionElement2.deltaE_system|conductionElement2.h|conductionElement2.rear.m_flow|conductionElement3.h|conductionElement3.rear.m_flow|conductionElement4.deltaE_system|conductionElement4.h|conductionElement4.rear.m_flow|conductionElement5.h|conductionElement5.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 113.6 kB / 16.42 MB, free: 6.441 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.001077/0.001077, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6913/0.6913, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.88 kB / 0.5175 GB, free: 4.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.281, allocations: 67.68 MB / 0.5836 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.07722/0.3582, allocations: 82.56 MB / 0.6642 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007923/0.3662, allocations: 4.494 MB / 0.6686 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.368, allocations: 111.3 kB / 0.6687 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.3701, allocations: 0.8573 MB / 0.6696 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008261/0.3784, allocations: 3.445 MB / 0.6729 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007582/0.386, allocations: 3.587 MB / 0.6764 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004478/0.3905, allocations: 3.361 MB / 0.6797 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.3916, allocations: 0.5751 MB / 0.6803 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.4048, allocations: 8.156 MB / 0.6882 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.4065, allocations: 1.162 MB / 0.6894 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005261/0.407, allocations: 140 kB / 0.6895 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006806/0.4138, allocations: 3.487 MB / 0.6929 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.4144, allocations: 386.1 kB / 0.6933 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.4158, allocations: 1.037 MB / 0.6943 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.422, allocations: 3.481 MB / 0.6977 GB, free: 8.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.422, allocations: 4 kB / 0.6977 GB, free: 8.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.422, allocations: 0 / 0.6977 GB, free: 8.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.613e-05/0.4221, allocations: 0 / 0.6977 GB, free: 8.93 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00504/0.4272, allocations: 2.761 MB / 0.7004 GB, free: 6.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4272, allocations: 8.031 kB / 0.7004 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.4299, allocations: 429.6 kB / 0.7008 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.4325, allocations: 1.466 MB / 0.7022 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.4326, allocations: 123.5 kB / 0.7024 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.4328, allocations: 163.8 kB / 0.7025 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.4361, allocations: 1.599 MB / 0.7041 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.4361, allocations: 3.938 kB / 0.7041 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4363, allocations: 64 kB / 0.7041 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.4363, allocations: 40 kB / 0.7042 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.4391, allocations: 1.096 MB / 0.7053 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.4497, allocations: 10.53 MB / 0.7155 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.4522, allocations: 1.019 MB / 0.7165 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.453, allocations: 408.7 kB / 0.7169 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/0.4551, allocations: 2.65 MB / 0.7195 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4551, allocations: 47.5 kB / 0.7196 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=105): time 3.467e-06/0.4552, allocations: 0 / 0.7196 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=108): time 0.01067/0.4658, allocations: 3.947 MB / 0.7234 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4659, allocations: 64.39 kB / 0.7235 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.468, allocations: 1.653 MB / 0.7251 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.4681, allocations: 41.7 kB / 0.7251 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009574/0.4691, allocations: 0.9496 MB / 0.7261 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.4694, allocations: 390.3 kB / 0.7264 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.4698, allocations: 247.4 kB / 0.7267 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4699, allocations: 357.9 kB / 0.727 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009732/0.4709, allocations: 411.8 kB / 0.7274 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.4721, allocations: 0.6866 MB / 0.7281 GB, free: 7.492 MB / 0.5762 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.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: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.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: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.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.002448/0.4746, allocations: 1.491 MB / 0.7295 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4746, allocations: 0 / 0.7295 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003291/0.4779, allocations: 1.589 MB / 0.7311 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4779, allocations: 8.5 kB / 0.7311 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4779, allocations: 15.94 kB / 0.7311 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.4785, allocations: 189 kB / 0.7313 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4797, allocations: 315.5 kB / 0.7316 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/0.486, allocations: 8.725 MB / 0.7401 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4871, allocations: 64.02 kB / 0.7402 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4872, allocations: 67.98 kB / 0.7402 GB, free: 9.965 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006624/0.4879, allocations: 331.6 kB / 0.7405 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.4883, allocations: 205.4 kB / 0.7407 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.492, allocations: 1.702 MB / 0.7424 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.4921, allocations: 7.969 kB / 0.7424 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4921, allocations: 0 / 0.7424 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.4925, allocations: 254.5 kB / 0.7427 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.4927, allocations: 27.88 kB / 0.7427 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.4935, allocations: 43.95 kB / 0.7427 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.4937, allocations: 104.8 kB / 0.7428 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004008/0.4977, allocations: 1.42 MB / 0.7442 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003495/0.5012, allocations: 1.897 MB / 0.7461 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009655/0.5022, allocations: 491.7 kB / 0.7465 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001424/0.5036, allocations: 1.085 MB / 0.7476 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/0.5036, allocations: 0 / 0.7476 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2411/0.7448, allocations: 2.416 MB / 0.7499 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006013/0.7508, allocations: 4.379 MB / 0.7542 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.04872/0.7996, allocations: 35.33 MB / 0.7887 GB, free: 132 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches