Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.00132/0.00132, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001589/0.001589, allocations: 167.2 kB / 22.46 MB, free: 5.371 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.529/1.529, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9927/0.9927, allocations: 116 MB / 375.2 MB, free: 7.512 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5537 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.281e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1686/0.1687, allocations: 129.6 MB / 0.6803 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00662/0.1753, allocations: 4.297 MB / 0.6845 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.176, allocations: 47.56 kB / 0.6845 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1771, allocations: 274 kB / 0.6848 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.1794, allocations: 0.7334 MB / 0.6855 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1809, allocations: 0.5291 MB / 0.686 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1825, allocations: 1.1 MB / 0.6871 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1828, allocations: 94.61 kB / 0.6872 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.1842, allocations: 0.7241 MB / 0.6879 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.1849, allocations: 430.9 kB / 0.6883 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.185, allocations: 48 kB / 0.6883 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1866, allocations: 0.6509 MB / 0.689 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1868, allocations: 127.4 kB / 0.6891 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.1871, allocations: 223.5 kB / 0.6893 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.1889, allocations: 0.9813 MB / 0.6903 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1889, allocations: 0 / 0.6903 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1889, allocations: 0 / 0.6903 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.1889, allocations: 0 / 0.6903 GB, free: 1.438 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00177/0.1906, allocations: 0.9245 MB / 0.6912 GB, free: 488 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1907, allocations: 8.031 kB / 0.6912 GB, free: 480 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.1912, allocations: 100.4 kB / 0.6913 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2593/0.4504, allocations: 474.8 kB / 0.6917 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.4505, allocations: 35.03 kB / 0.6918 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/0.4506, allocations: 47.38 kB / 0.6918 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009291/0.4515, allocations: 0.5075 MB / 0.6923 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4515, allocations: 3.375 kB / 0.6923 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.4515, allocations: 17.34 kB / 0.6923 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4516, allocations: 10.28 kB / 0.6923 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.4523, allocations: 492.1 kB / 0.6928 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.4546, allocations: 1.465 MB / 0.6942 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.4553, allocations: 332.7 kB / 0.6946 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4556, allocations: 180.9 kB / 0.6947 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.4578, allocations: 0.8377 MB / 0.6955 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4578, allocations: 38.67 kB / 0.6956 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.943e-06/0.4578, allocations: 3.906 kB / 0.6956 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001602/0.4594, allocations: 0.635 MB / 0.6962 GB, free: 142.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.4594, allocations: 56.19 kB / 0.6963 GB, free: 142 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.4599, allocations: 424.1 kB / 0.6967 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4599, allocations: 36.59 kB / 0.6967 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.4601, allocations: 278.7 kB / 0.697 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.4601, allocations: 171.8 kB / 0.6971 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4603, allocations: 79.66 kB / 0.6972 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.4604, allocations: 367.2 kB / 0.6976 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.4606, allocations: 129.2 kB / 0.6977 GB, free: 141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.4609, allocations: 189.6 kB / 0.6979 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.4616, allocations: 340.4 kB / 0.6982 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4616, allocations: 0 / 0.6982 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009415/0.4625, allocations: 0.496 MB / 0.6987 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4625, allocations: 6.406 kB / 0.6987 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4625, allocations: 1.031 kB / 0.6987 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.4628, allocations: 64.19 kB / 0.6987 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.4632, allocations: 91.52 kB / 0.6988 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.4648, allocations: 2.668 MB / 0.7014 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.4651, allocations: 28.36 kB / 0.7015 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.4652, allocations: 18.17 kB / 0.7015 GB, free: 137.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002498/0.4654, allocations: 177.9 kB / 0.7016 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4655, allocations: 65.02 kB / 0.7017 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.4669, allocations: 0.6695 MB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4669, allocations: 8.828 kB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4669, allocations: 8.531 kB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4669, allocations: 3.812 kB / 0.7024 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4686, allocations: 0.9904 MB / 0.7033 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4686, allocations: 0.6875 kB / 0.7033 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4689, allocations: 68.34 kB / 0.7034 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.4692, allocations: 73.3 kB / 0.7035 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4692, allocations: 12.16 kB / 0.7035 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.4708, allocations: 2.659 MB / 0.7061 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4708, allocations: 0.9375 kB / 0.7061 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4722, allocations: 0.731 MB / 0.7068 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.4725, allocations: 92.95 kB / 0.7069 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4726, allocations: 13.58 kB / 0.7069 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4729, allocations: 11.81 kB / 0.7069 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.473, allocations: 43.02 kB / 0.707 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.473, allocations: 16.5 kB / 0.707 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005097/0.4735, allocations: 317 kB / 0.7073 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4735, allocations: 0.5312 kB / 0.7073 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008744/0.4744, allocations: 202.3 kB / 0.7075 GB, free: 133.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,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.0005077/0.4749, allocations: 262.9 kB / 0.7077 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.476, allocations: 0.5607 MB / 0.7083 GB, free: 133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.476, allocations: 0 / 0.7083 GB, free: 133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.4766, allocations: 419.1 kB / 0.7087 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.4778, allocations: 223.7 kB / 0.7089 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4802, allocations: 1.119 MB / 0.71 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4804, allocations: 270.9 kB / 0.7102 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003702/0.4808, allocations: 108.9 kB / 0.7103 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4809, allocations: 57.7 kB / 0.7104 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.4809, allocations: 0 / 0.7104 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01691/0.4978, allocations: 11.03 MB / 0.7212 GB, free: 122.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.4423469863832]