Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002061/0.002061, allocations: 214.4 kB / 22.25 MB, free: 5.258 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7663/0.7663, allocations: 94.62 MB / 407 MB, free: 8.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [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.002613/0.002613, allocations: 86.44 kB / 0.5554 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1175, allocations: 73.06 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6194/0.737, allocations: 226.7 MB / 0.8482 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.7539, allocations: 11.77 MB / 0.8597 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.7553, allocations: 107.6 kB / 0.8598 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.7579, allocations: 0.8787 MB / 0.8607 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.7725, allocations: 5.493 MB / 0.866 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/0.7797, allocations: 2.468 MB / 0.8684 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.7829, allocations: 2.064 MB / 0.8704 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.7834, allocations: 236 kB / 0.8707 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.7863, allocations: 1.401 MB / 0.872 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.7874, allocations: 0.7658 MB / 0.8728 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.7876, allocations: 100 kB / 0.8729 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01819/0.8058, allocations: 8.767 MB / 0.8814 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.8064, allocations: 390.5 kB / 0.8818 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008457/0.8073, allocations: 0.5673 MB / 0.8824 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.8217, allocations: 5.822 MB / 0.8881 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8217, allocations: 0 / 0.8881 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8217, allocations: 0 / 0.8881 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.8217, allocations: 0 / 0.8881 GB, free: 12.93 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006217/0.8279, allocations: 2.756 MB / 0.8907 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.828, allocations: 8.031 kB / 0.8907 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.8283, allocations: 178.9 kB / 0.8909 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.8305, allocations: 0.978 MB / 0.8919 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.8306, allocations: 69.98 kB / 0.8919 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.8308, allocations: 95.98 kB / 0.892 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.8331, allocations: 1.42 MB / 0.8934 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.8331, allocations: 4 kB / 0.8934 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.8332, allocations: 43.98 kB / 0.8935 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.8333, allocations: 89.94 kB / 0.8936 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.8357, allocations: 1.554 MB / 0.8951 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/0.8432, allocations: 3.722 MB / 0.8987 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.8449, allocations: 0.7774 MB / 0.8995 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.8459, allocations: 0.5903 MB / 0.9 GB, free: 456 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.8469, allocations: 316.7 kB / 0.9003 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.847, allocations: 43.56 kB / 0.9004 GB, free: 84 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.647e-06/0.847, allocations: 0 / 0.9004 GB, free: 84 kB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.00442/0.8514, allocations: 1.946 MB / 0.9023 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.8515, allocations: 90.11 kB / 0.9024 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.8526, allocations: 0.7966 MB / 0.9031 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.566e-05/0.8527, allocations: 41.7 kB / 0.9032 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.8532, allocations: 0.5564 MB / 0.9037 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/0.8536, allocations: 412.3 kB / 0.9041 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.8539, allocations: 186.6 kB / 0.9043 GB, free: 12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.8541, allocations: 349.9 kB / 0.9046 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.8549, allocations: 461.8 kB / 0.9051 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.8559, allocations: 0.52 MB / 0.9056 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.8577, allocations: 1.044 MB / 0.9066 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.8577, allocations: 4 kB / 0.9066 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002805/0.8605, allocations: 1.373 MB / 0.9079 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.8606, allocations: 4 kB / 0.908 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8606, allocations: 4 kB / 0.908 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.8611, allocations: 130.2 kB / 0.9081 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.8618, allocations: 183.7 kB / 0.9083 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.8652, allocations: 3.079 MB / 0.9113 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.8659, allocations: 59.55 kB / 0.9113 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.8661, allocations: 63.97 kB / 0.9114 GB, free: 4.516 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 98 * Array equations: 8 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006021/0.8667, allocations: 283.1 kB / 0.9116 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.8671, allocations: 131.3 kB / 0.9118 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.8712, allocations: 2.043 MB / 0.9138 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.8712, allocations: 12 kB / 0.9138 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8712, allocations: 0 / 0.9138 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.8712, allocations: 3.984 kB / 0.9138 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.8767, allocations: 2.668 MB / 0.9164 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.8767, allocations: 3.938 kB / 0.9164 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.8774, allocations: 175.7 kB / 0.9166 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/0.8778, allocations: 125.6 kB / 0.9167 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.8779, allocations: 39.97 kB / 0.9167 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.8812, allocations: 3.096 MB / 0.9197 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8812, allocations: 0 / 0.9197 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/0.8853, allocations: 2.223 MB / 0.9219 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.8856, allocations: 130.9 kB / 0.922 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.8858, allocations: 23.98 kB / 0.9221 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.8863, allocations: 23.98 kB / 0.9221 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.8865, allocations: 88.78 kB / 0.9222 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.8866, allocations: 59.97 kB / 0.9222 GB, free: 9.078 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008953/0.8875, allocations: 0.5847 MB / 0.9228 GB, free: 8.484 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8875, allocations: 7.938 kB / 0.9228 GB, free: 8.477 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002813/0.8904, allocations: 1.044 MB / 0.9238 GB, free: 7.43 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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 (102): * Single equations (assignments): 92 * Array equations: 8 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/0.8937, allocations: 1.275 MB / 0.9251 GB, free: 6.145 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002779/0.8964, allocations: 1.384 MB / 0.9264 GB, free: 4.738 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8964, allocations: 0 / 0.9264 GB, free: 4.738 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.898, allocations: 0.8814 MB / 0.9273 GB, free: 3.832 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.8999, allocations: 359.6 kB / 0.9276 GB, free: 3.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.9048, allocations: 2.49 MB / 0.9301 GB, free: 0.957 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.9057, allocations: 0.6131 MB / 0.9307 GB, free: 316 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00161/0.9073, allocations: 0.6702 MB / 0.9313 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.9077, allocations: 135.4 kB / 0.9314 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of SimCode: time 7.02e-07/0.9077, allocations: 0 / 0.9314 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.06361/0.9713, allocations: 37.35 MB / 0.9679 GB, free: 10.46 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.8392206355929375]