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.001293/0.001293, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001415/0.001415, allocations: 212.3 kB / 22.99 MB, free: 4.945 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.708/0.708, allocations: 94.63 MB / 407.8 MB, free: 8.852 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.002569/0.002569, allocations: 86.36 kB / 0.5562 GB, free: 38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1078, allocations: 73.05 MB / 0.6275 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5275/0.6353, allocations: 226.8 MB / 0.8489 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.6512, allocations: 11.78 MB / 0.8604 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.6526, allocations: 106.4 kB / 0.8605 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.6553, allocations: 0.8829 MB / 0.8614 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.6697, allocations: 5.484 MB / 0.8668 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/0.6763, allocations: 2.465 MB / 0.8692 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.6793, allocations: 2.068 MB / 0.8712 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.6798, allocations: 236 kB / 0.8714 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.6824, allocations: 1.397 MB / 0.8728 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.6834, allocations: 0.7735 MB / 0.8735 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.6835, allocations: 100 kB / 0.8736 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01746/0.701, allocations: 8.76 MB / 0.8822 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005039/0.7015, allocations: 390.5 kB / 0.8826 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007835/0.7023, allocations: 0.5712 MB / 0.8831 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.7153, allocations: 5.822 MB / 0.8888 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7153, allocations: 0 / 0.8888 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7153, allocations: 0 / 0.8888 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.7154, allocations: 0 / 0.8888 GB, free: 12.86 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.006606/0.722, allocations: 2.752 MB / 0.8915 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.722, allocations: 8.031 kB / 0.8915 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.7225, allocations: 182.9 kB / 0.8917 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.7246, allocations: 0.974 MB / 0.8926 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.7247, allocations: 73.97 kB / 0.8927 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.7249, allocations: 99.98 kB / 0.8928 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.7273, allocations: 1.42 MB / 0.8942 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.7273, allocations: 0 / 0.8942 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.7274, allocations: 36 kB / 0.8942 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.7275, allocations: 89.94 kB / 0.8943 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.7299, allocations: 1.558 MB / 0.8958 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007634/0.7376, allocations: 3.72 MB / 0.8994 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.7392, allocations: 0.7747 MB / 0.9002 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009822/0.7401, allocations: 0.5903 MB / 0.9008 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.7412, allocations: 316.7 kB / 0.9011 GB, free: 72 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.7412, allocations: 43.56 kB / 0.9011 GB, free: 16 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.847e-06/0.7412, allocations: 0 / 0.9011 GB, free: 16 kB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004295/0.7455, allocations: 1.946 MB / 0.903 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.7456, allocations: 90.11 kB / 0.9031 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7467, allocations: 0.8005 MB / 0.9039 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.7468, allocations: 45.7 kB / 0.9039 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.7473, allocations: 0.5448 MB / 0.9045 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/0.7477, allocations: 412.4 kB / 0.9049 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.748, allocations: 182.6 kB / 0.905 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7482, allocations: 353.9 kB / 0.9054 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.7489, allocations: 461.8 kB / 0.9058 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008716/0.7498, allocations: 0.5161 MB / 0.9063 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.7516, allocations: 1.049 MB / 0.9073 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7516, allocations: 0 / 0.9073 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002561/0.7541, allocations: 1.377 MB / 0.9087 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7542, allocations: 4 kB / 0.9087 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7542, allocations: 4 kB / 0.9087 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.7546, allocations: 130 kB / 0.9088 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.7553, allocations: 187.7 kB / 0.909 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.7586, allocations: 3.08 MB / 0.912 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.7591, allocations: 59.55 kB / 0.9121 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.7592, allocations: 63.97 kB / 0.9121 GB, free: 4.449 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.0005362/0.7598, allocations: 277.8 kB / 0.9124 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.7601, allocations: 135.1 kB / 0.9125 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/0.7639, allocations: 2.046 MB / 0.9145 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.7639, allocations: 8 kB / 0.9145 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7639, allocations: 4 kB / 0.9145 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7639, allocations: 3.984 kB / 0.9145 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.7687, allocations: 2.668 MB / 0.9171 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.7687, allocations: 3.938 kB / 0.9171 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.7694, allocations: 175.8 kB / 0.9173 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.7698, allocations: 117.6 kB / 0.9174 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/0.7699, allocations: 52.03 kB / 0.9175 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.773, allocations: 3.085 MB / 0.9205 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.773, allocations: 8.062 kB / 0.9205 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.7767, allocations: 2.223 MB / 0.9227 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.7769, allocations: 127 kB / 0.9228 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.7771, allocations: 20 kB / 0.9228 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.7776, allocations: 27.97 kB / 0.9228 GB, free: 9.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.7777, allocations: 96.72 kB / 0.9229 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.7778, allocations: 56.03 kB / 0.923 GB, free: 9.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008098/0.7786, allocations: 0.5846 MB / 0.9235 GB, free: 8.418 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7786, allocations: 0 / 0.9235 GB, free: 8.418 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002617/0.7813, allocations: 1.044 MB / 0.9246 GB, free: 7.371 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.00316/0.7844, allocations: 1.282 MB / 0.9258 GB, free: 6.078 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002551/0.787, allocations: 1.388 MB / 0.9272 GB, free: 4.668 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.787, allocations: 4 kB / 0.9272 GB, free: 4.664 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.7884, allocations: 0.862 MB / 0.928 GB, free: 3.777 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.7901, allocations: 370.9 kB / 0.9284 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.7949, allocations: 2.565 MB / 0.9309 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.7956, allocations: 0.6092 MB / 0.9315 GB, free: 172 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.7962, allocations: 155.4 kB / 0.9316 GB, free: 16 kB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.7962, allocations: 0 / 0.9316 GB, free: 16 kB / 0.67 GB Notification: Performance of Templates: time 0.06163/0.8578, allocations: 42.22 MB / 0.9728 GB, free: 5.766 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/jenkins1/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: 13.232641901820898]