Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001715/0.001715, 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.002109/0.002109, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.8628/0.8628, allocations: 100.9 MB / 413.3 MB, free: 2.902 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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) [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.004481/0.004481, allocations: 84.48 kB / 0.5641 GB, free: 35.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1649, allocations: 74.61 MB / 0.6369 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7405/0.9054, allocations: 226.8 MB / 0.8584 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.9235, allocations: 11.78 MB / 0.8699 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.9252, allocations: 106.8 kB / 0.87 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.9287, allocations: 0.8796 MB / 0.8708 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.9458, allocations: 5.496 MB / 0.8762 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007462/0.9532, allocations: 2.463 MB / 0.8786 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.9566, allocations: 2.071 MB / 0.8806 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.9571, allocations: 240 kB / 0.8809 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.9602, allocations: 1.405 MB / 0.8822 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.9614, allocations: 0.7735 MB / 0.883 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.9615, allocations: 104 kB / 0.8831 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/0.9801, allocations: 8.749 MB / 0.8916 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007277/0.9809, allocations: 394.5 kB / 0.892 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008703/0.9817, allocations: 0.5829 MB / 0.8926 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.9986, allocations: 5.815 MB / 0.8983 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9986, allocations: 4 kB / 0.8983 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9986, allocations: 0 / 0.8983 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.9986, allocations: 0 / 0.8983 GB, free: 14.34 MB / 0.6544 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.006416/1.005, allocations: 2.748 MB / 0.9009 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.005, allocations: 9.469 kB / 0.901 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/1.005, allocations: 156.2 kB / 0.9011 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/1.006, allocations: 178.9 kB / 0.9013 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/1.008, allocations: 0.9824 MB / 0.9022 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/1.008, allocations: 70 kB / 0.9023 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.008, allocations: 95.94 kB / 0.9024 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.01, allocations: 1.424 MB / 0.9038 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/1.01, allocations: 0 / 0.9038 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/1.01, allocations: 55.86 kB / 0.9038 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.01, allocations: 85.95 kB / 0.9039 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/1.013, allocations: 1.554 MB / 0.9054 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007715/1.02, allocations: 3.87 MB / 0.9092 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.022, allocations: 0.7719 MB / 0.91 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/1.023, allocations: 0.5864 MB / 0.9105 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.024, allocations: 320.6 kB / 0.9108 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.024, allocations: 47.5 kB / 0.9109 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 4.038e-06/1.024, allocations: 0 / 0.9109 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.004624/1.029, allocations: 1.957 MB / 0.9128 GB, free: 15.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/1.029, allocations: 90.11 kB / 0.9129 GB, free: 15.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/1.03, allocations: 0.912 MB / 0.9138 GB, free: 14.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.03, allocations: 45.7 kB / 0.9138 GB, free: 14.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/1.031, allocations: 0.5377 MB / 0.9143 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000403/1.031, allocations: 416.4 kB / 0.9147 GB, free: 13.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/1.032, allocations: 182.6 kB / 0.9149 GB, free: 12.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.032, allocations: 345.9 kB / 0.9152 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/1.033, allocations: 465.7 kB / 0.9157 GB, free: 12.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/1.034, allocations: 0.5277 MB / 0.9162 GB, free: 11.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.035, allocations: 1.044 MB / 0.9172 GB, free: 10.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.035, allocations: 0 / 0.9172 GB, free: 10.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002933/1.038, allocations: 1.385 MB / 0.9186 GB, free: 9.191 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.038, allocations: 11.94 kB / 0.9186 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.038, allocations: 0 / 0.9186 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/1.039, allocations: 125.5 kB / 0.9187 GB, free: 9.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/1.039, allocations: 183.8 kB / 0.9189 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/1.043, allocations: 3.123 MB / 0.9219 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/1.043, allocations: 75.39 kB / 0.922 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.044, allocations: 63.97 kB / 0.9221 GB, free: 5.383 MB / 0.67 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.0005565/1.044, allocations: 282.9 kB / 0.9223 GB, free: 5.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/1.044, allocations: 143.6 kB / 0.9225 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/1.048, allocations: 2.046 MB / 0.9245 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/1.048, allocations: 12 kB / 0.9245 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.048, allocations: 0 / 0.9245 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.048, allocations: 7.922 kB / 0.9245 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/1.053, allocations: 2.79 MB / 0.9272 GB, free: 12 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.053, allocations: 0 / 0.9272 GB, free: 12 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/1.054, allocations: 167.8 kB / 0.9274 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/1.054, allocations: 129.6 kB / 0.9275 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.362e-05/1.054, allocations: 39.97 kB / 0.9275 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/1.057, allocations: 3.138 MB / 0.9306 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.057, allocations: 4.031 kB / 0.9306 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/1.061, allocations: 2.233 MB / 0.9328 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/1.062, allocations: 150.8 kB / 0.9329 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.062, allocations: 23.94 kB / 0.933 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/1.062, allocations: 20 kB / 0.933 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.062, allocations: 88.83 kB / 0.9331 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.063, allocations: 67.91 kB / 0.9331 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001014/1.064, allocations: 0.674 MB / 0.9338 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.064, allocations: 4.062 kB / 0.9338 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002883/1.066, allocations: 1.028 MB / 0.9348 GB, free: 7.996 MB / 0.6856 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.007648/1.074, allocations: 4.006 MB / 0.9387 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002874/1.077, allocations: 1.396 MB / 0.9401 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.077, allocations: 0 / 0.9401 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.079, allocations: 0.8581 MB / 0.9409 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.081, allocations: 438.1 kB / 0.9413 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.1, allocations: 10.38 MB / 0.9515 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/1.101, allocations: 0.6174 MB / 0.9521 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001612/1.103, allocations: 0.6712 MB / 0.9527 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/1.104, allocations: 0.5618 MB / 0.9533 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of SimCode: time 1.292e-06/1.104, allocations: 0 / 0.9533 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/1.224, allocations: 52.59 MB / 1.005 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.14, allocations: 19.25 kB / 1.005 GB, free: 0.6562 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 20.20387678593397]