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.001174/0.001175, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001686/0.001685, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8062/0.8062, allocations: 89.63 MB / 380.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004301, allocations: 10.5 kB / 460 MB, free: 24.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 68.83 MB / 0.5165 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.3952/0.5294, allocations: 76.57 MB / 0.5912 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009148/0.5386, allocations: 4.201 MB / 0.5953 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.5421, allocations: 29.84 kB / 0.5954 GB, free: 7.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.5451, allocations: 0.653 MB / 0.596 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.5565, allocations: 2.864 MB / 0.5988 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008995/0.5655, allocations: 2.891 MB / 0.6016 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006289/0.5719, allocations: 3.345 MB / 0.6049 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.5736, allocations: 436.5 kB / 0.6053 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02288/0.5965, allocations: 7.871 MB / 0.613 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.5998, allocations: 0.955 MB / 0.6139 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008833/0.6007, allocations: 65.09 kB / 0.614 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.6122, allocations: 3.119 MB / 0.617 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008824/0.6132, allocations: 263.9 kB / 0.6173 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.6148, allocations: 359.4 kB / 0.6176 GB, free: 20.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006685/0.6215, allocations: 2.05 MB / 0.6196 GB, free: 19.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.6216, allocations: 0 / 0.6196 GB, free: 19.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.6216, allocations: 0 / 0.6196 GB, free: 19.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001422/0.6217, allocations: 0 / 0.6196 GB, free: 19.27 MB / 462.1 MB 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.006099/0.6278, allocations: 2.082 MB / 0.6217 GB, free: 17.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6279, allocations: 10 kB / 0.6217 GB, free: 17.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.6312, allocations: 380 kB / 0.622 GB, free: 17.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.6333, allocations: 0.7831 MB / 0.6228 GB, free: 17.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.6335, allocations: 120.4 kB / 0.6229 GB, free: 17.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/0.634, allocations: 166.3 kB / 0.6231 GB, free: 17.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.6386, allocations: 1.612 MB / 0.6246 GB, free: 16.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.6387, allocations: 3.938 kB / 0.6246 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.6389, allocations: 64.19 kB / 0.6247 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.6389, allocations: 39.34 kB / 0.6247 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.6422, allocations: 1.129 MB / 0.6258 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.6567, allocations: 10.48 MB / 0.6361 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.6595, allocations: 1.029 MB / 0.6371 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.6604, allocations: 423 kB / 0.6375 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.6629, allocations: 2.668 MB / 0.6401 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.663, allocations: 47.91 kB / 0.6401 GB, free: 4.133 MB / 462.1 MB Notification: Performance of pre-optimization done (n=105): time 3.166e-06/0.663, allocations: 3.938 kB / 0.6401 GB, free: 4.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.01191/0.6749, allocations: 4.03 MB / 0.6441 GB, free: 1.113 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.675, allocations: 68.36 kB / 0.6441 GB, free: 1.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.6773, allocations: 1.247 MB / 0.6454 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6775, allocations: 45.7 kB / 0.6454 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.6782, allocations: 0.7691 MB / 0.6462 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.6787, allocations: 394.9 kB / 0.6465 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.6788, allocations: 28 kB / 0.6466 GB, free: 14.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6791, allocations: 357.9 kB / 0.6469 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.6802, allocations: 447.8 kB / 0.6473 GB, free: 13.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6815, allocations: 0.7256 MB / 0.648 GB, free: 12.91 MB / 478.1 MB 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 = 0.0 ($START.conductionElement5.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement3.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement1.deltaE_system = 0.0) 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 = 0.0 ($START.conductionElement.deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.683, allocations: 0.8619 MB / 0.6489 GB, free: 11.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.6831, allocations: 4 kB / 0.6489 GB, free: 11.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003807/0.6869, allocations: 1.605 MB / 0.6505 GB, free: 10.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.6869, allocations: 16.05 kB / 0.6505 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.6869, allocations: 11.94 kB / 0.6505 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.6876, allocations: 189 kB / 0.6507 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.6887, allocations: 335.5 kB / 0.651 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006738/0.6955, allocations: 8.11 MB / 0.6589 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.6972, allocations: 75.97 kB / 0.659 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.6976, allocations: 71.97 kB / 0.659 GB, free: 0.7422 MB / 478.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: conductionElement5.deltaE_system = 0.0 conductionElement3.deltaE_system = 0.0 conductionElement1.deltaE_system = 0.0 conductionElement.deltaE_system = 0.0. 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 (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.6986, allocations: 297.3 kB / 0.6593 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.6991, allocations: 165.9 kB / 0.6595 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.7033, allocations: 1.713 MB / 0.6612 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.7033, allocations: 12 kB / 0.6612 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.7034, allocations: 7.953 kB / 0.6612 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.7034, allocations: 3.984 kB / 0.6612 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.7093, allocations: 2.76 MB / 0.6639 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.7094, allocations: 4 kB / 0.6639 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.7104, allocations: 247.9 kB / 0.6641 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.711, allocations: 188.9 kB / 0.6643 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7111, allocations: 43.97 kB / 0.6643 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006549/0.7177, allocations: 8.096 MB / 0.6722 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7177, allocations: 0 / 0.6722 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.7217, allocations: 1.973 MB / 0.6742 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/0.7224, allocations: 246.9 kB / 0.6744 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/0.7228, allocations: 26.86 kB / 0.6744 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/0.7239, allocations: 63.91 kB / 0.6745 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.7241, allocations: 100.9 kB / 0.6746 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7243, allocations: 47.97 kB / 0.6746 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001476/0.7257, allocations: 0.8234 MB / 0.6754 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7258, allocations: 7.938 kB / 0.6754 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002602/0.7284, allocations: 0.5429 MB / 0.676 GB, free: 14.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/0.7299, allocations: 0.5766 MB / 0.6765 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003858/0.7337, allocations: 1.867 MB / 0.6784 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7338, allocations: 4.125 kB / 0.6784 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002331/0.7361, allocations: 1.299 MB / 0.6796 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.7388, allocations: 374.6 kB / 0.68 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.7458, allocations: 3.957 MB / 0.6839 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.7468, allocations: 1.234 MB / 0.6851 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001836/0.7487, allocations: 0.5275 MB / 0.6856 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.7492, allocations: 147.4 kB / 0.6857 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.7492, allocations: 0 / 0.6857 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.04977/0.799, allocations: 24.53 MB / 0.7097 GB, free: 12.04 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches