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.001261/0.001261, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001413/0.001413, allocations: 160 kB / 23.01 MB, free: 4.598 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.351/1.351, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] 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.73/0.73, allocations: 79.62 MB / 339.4 MB, free: 10.98 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 86.84 kB / 0.4923 GB, free: 26.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1135, allocations: 74.59 MB / 0.5652 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1624/0.2759, allocations: 129.2 MB / 0.6913 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005947/0.2819, allocations: 4.239 MB / 0.6955 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.2825, allocations: 39.62 kB / 0.6955 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.2881/0.5706, allocations: 264.6 kB / 0.6958 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.5725, allocations: 0.6658 MB / 0.6964 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.5738, allocations: 0.5083 MB / 0.6969 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.5749, allocations: 0.9954 MB / 0.6979 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.5751, allocations: 101.5 kB / 0.698 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.5761, allocations: 0.5443 MB / 0.6985 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.5766, allocations: 440.8 kB / 0.6989 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.5767, allocations: 43.53 kB / 0.699 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.5779, allocations: 0.652 MB / 0.6996 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.578, allocations: 123.2 kB / 0.6997 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.5783, allocations: 253.2 kB / 0.7 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.5795, allocations: 0.9515 MB / 0.7009 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5795, allocations: 2.438 kB / 0.7009 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5795, allocations: 0 / 0.7009 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5795, allocations: 0 / 0.7009 GB, free: 3.539 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.001484/0.581, allocations: 0.9149 MB / 0.7018 GB, free: 19.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.581, allocations: 10.09 kB / 0.7018 GB, free: 19.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.5815, allocations: 102.6 kB / 0.7019 GB, free: 18.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.5823, allocations: 489.7 kB / 0.7024 GB, free: 18.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5823, allocations: 27.09 kB / 0.7024 GB, free: 18.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.5824, allocations: 45.84 kB / 0.7025 GB, free: 18.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.583, allocations: 0.5145 MB / 0.703 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5831, allocations: 0 / 0.703 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.5831, allocations: 16.03 kB / 0.703 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5831, allocations: 12.22 kB / 0.703 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.5837, allocations: 497.5 kB / 0.7035 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.5856, allocations: 1.452 MB / 0.7049 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.5863, allocations: 333.1 kB / 0.7052 GB, free: 18.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.5865, allocations: 181.4 kB / 0.7054 GB, free: 18.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.5884, allocations: 0.8375 MB / 0.7062 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.5884, allocations: 42.86 kB / 0.7062 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.734e-06/0.5884, allocations: 0 / 0.7062 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001329/0.5897, allocations: 0.6297 MB / 0.7068 GB, free: 17.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5898, allocations: 57.38 kB / 0.7069 GB, free: 17.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.5902, allocations: 414.5 kB / 0.7073 GB, free: 17.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.5903, allocations: 35.39 kB / 0.7073 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.5905, allocations: 286.5 kB / 0.7076 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.5906, allocations: 170.3 kB / 0.7078 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.5907, allocations: 82.61 kB / 0.7078 GB, free: 17.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5909, allocations: 361.7 kB / 0.7082 GB, free: 16.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.5911, allocations: 132 kB / 0.7083 GB, free: 16.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.5914, allocations: 184.4 kB / 0.7085 GB, free: 16.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.592, allocations: 341.5 kB / 0.7088 GB, free: 16.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.592, allocations: 1.062 kB / 0.7088 GB, free: 16.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000879/0.5929, allocations: 0.4908 MB / 0.7093 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5929, allocations: 6.594 kB / 0.7093 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5929, allocations: 2.281 kB / 0.7093 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.5932, allocations: 71.78 kB / 0.7094 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.5935, allocations: 86.2 kB / 0.7094 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.5958, allocations: 2.663 MB / 0.712 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.596, allocations: 33.91 kB / 0.7121 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.5961, allocations: 22.06 kB / 0.7121 GB, free: 14.25 MB / 0.6075 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.0002326/0.5963, allocations: 176.5 kB / 0.7123 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5964, allocations: 57.08 kB / 0.7123 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5977, allocations: 0.6755 MB / 0.713 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.5977, allocations: 4.25 kB / 0.713 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5977, allocations: 4 kB / 0.713 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.5977, allocations: 3.953 kB / 0.713 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.5994, allocations: 0.9905 MB / 0.714 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5994, allocations: 1.094 kB / 0.714 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.5997, allocations: 67.64 kB / 0.714 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.5999, allocations: 68.73 kB / 0.7141 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.6, allocations: 16.5 kB / 0.7141 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.6021, allocations: 2.668 MB / 0.7167 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6021, allocations: 1.656 kB / 0.7167 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.6032, allocations: 0.7378 MB / 0.7174 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.6033, allocations: 46.23 kB / 0.7175 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.6033, allocations: 20.11 kB / 0.7175 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.6035, allocations: 10.94 kB / 0.7175 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.6036, allocations: 40.56 kB / 0.7176 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6036, allocations: 15.56 kB / 0.7176 GB, free: 11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003413/0.604, allocations: 317 kB / 0.7179 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.604, allocations: 1 kB / 0.7179 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006457/0.6046, allocations: 190.1 kB / 0.718 GB, free: 10.89 MB / 0.6075 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.0003682/0.605, allocations: 257.1 kB / 0.7183 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009051/0.6059, allocations: 0.5595 MB / 0.7188 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6059, allocations: 0 / 0.7188 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.6065, allocations: 423.2 kB / 0.7192 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.6072, allocations: 144.2 kB / 0.7194 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6091, allocations: 1.114 MB / 0.7205 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6093, allocations: 271.6 kB / 0.7207 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.6096, allocations: 106.1 kB / 0.7208 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6097, allocations: 54.05 kB / 0.7209 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.6097, allocations: 1.031 kB / 0.7209 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.01448/0.6242, allocations: 9.162 MB / 0.7298 GB, free: 8.621 MB / 0.6075 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 -s ida -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/jenkins1/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: 5.769090674002655]