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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 193.6 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6845/0.6845, allocations: 91.2 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 89.67 kB / 459.6 MB, free: 23.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 67.69 MB / 0.515 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5646/0.7004, allocations: 259.9 MB / 0.7688 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.717, allocations: 13.29 MB / 0.7817 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.7187, allocations: 83.5 kB / 0.7818 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.7214, allocations: 0.9216 MB / 0.7827 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.7357, allocations: 4.764 MB / 0.7874 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006628/0.7423, allocations: 2.103 MB / 0.7894 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.746, allocations: 2.848 MB / 0.7922 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.7468, allocations: 340 kB / 0.7925 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.7499, allocations: 1.214 MB / 0.7937 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7515, allocations: 0.8282 MB / 0.7945 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.7519, allocations: 72 kB / 0.7946 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/0.7722, allocations: 11.85 MB / 0.8062 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.7729, allocations: 358.6 kB / 0.8065 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.7741, allocations: 0.6719 MB / 0.8072 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.7889, allocations: 6.293 MB / 0.8133 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.7889, allocations: 4 kB / 0.8133 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7889, allocations: 0 / 0.8133 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.341e-05/0.789, allocations: 0 / 0.8133 GB, free: 14.3 MB / 0.6231 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.006871/0.7959, allocations: 2.715 MB / 0.816 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7959, allocations: 8.031 kB / 0.816 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.7963, allocations: 165.9 kB / 0.8161 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.798, allocations: 0.9354 MB / 0.817 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.7981, allocations: 70 kB / 0.8171 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.7983, allocations: 103.9 kB / 0.8172 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.8005, allocations: 1.408 MB / 0.8186 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8005, allocations: 0 / 0.8186 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.8006, allocations: 39.98 kB / 0.8186 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.8007, allocations: 85.95 kB / 0.8187 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.803, allocations: 1.53 MB / 0.8202 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007854/0.8108, allocations: 5.845 MB / 0.8259 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2616/1.072, allocations: 0.8561 MB / 0.8267 GB, free: 240.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.074, allocations: 0.6721 MB / 0.8274 GB, free: 240.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/1.076, allocations: 2.403 MB / 0.8297 GB, free: 238.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.076, allocations: 47.38 kB / 0.8298 GB, free: 238.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 3.777e-06/1.076, allocations: 4.594 kB / 0.8298 GB, free: 238.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.004586/1.08, allocations: 2.1 MB / 0.8318 GB, free: 237.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.08, allocations: 95.22 kB / 0.8319 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.082, allocations: 0.8955 MB / 0.8328 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/1.082, allocations: 49.55 kB / 0.8328 GB, free: 237.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/1.083, allocations: 0.5226 MB / 0.8334 GB, free: 236.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/1.083, allocations: 397 kB / 0.8337 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.083, allocations: 183.1 kB / 0.8339 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/1.083, allocations: 344.1 kB / 0.8342 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.084, allocations: 461.8 kB / 0.8347 GB, free: 236 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/1.085, allocations: 0.5273 MB / 0.8352 GB, free: 235.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/1.087, allocations: 1.045 MB / 0.8362 GB, free: 235.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.087, allocations: 0 / 0.8362 GB, free: 235.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002422/1.089, allocations: 1.383 MB / 0.8376 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.089, allocations: 6.531 kB / 0.8376 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.089, allocations: 2.859 kB / 0.8376 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/1.09, allocations: 120.8 kB / 0.8377 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/1.09, allocations: 181 kB / 0.8379 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.092, allocations: 3.115 MB / 0.8409 GB, free: 231.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/1.093, allocations: 94.08 kB / 0.841 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.093, allocations: 62.39 kB / 0.8411 GB, free: 231.7 MB / 0.6231 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.0004888/1.094, allocations: 288.6 kB / 0.8413 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/1.094, allocations: 134.6 kB / 0.8415 GB, free: 231.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/1.098, allocations: 2.037 MB / 0.8434 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/1.098, allocations: 14.36 kB / 0.8435 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.098, allocations: 2.875 kB / 0.8435 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.098, allocations: 5.812 kB / 0.8435 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/1.102, allocations: 3.001 MB / 0.8464 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.102, allocations: 1.344 kB / 0.8464 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/1.103, allocations: 173.3 kB / 0.8466 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/1.103, allocations: 133.1 kB / 0.8467 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.103, allocations: 47.58 kB / 0.8467 GB, free: 229.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/1.106, allocations: 3.117 MB / 0.8498 GB, free: 226.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.106, allocations: 1.281 kB / 0.8498 GB, free: 226.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/1.109, allocations: 2.23 MB / 0.852 GB, free: 225.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/1.109, allocations: 208.7 kB / 0.8522 GB, free: 224.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.109, allocations: 37.14 kB / 0.8522 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/1.11, allocations: 54.48 kB / 0.8522 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.11, allocations: 86.5 kB / 0.8523 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.11, allocations: 60.03 kB / 0.8524 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008765/1.111, allocations: 0.6581 MB / 0.853 GB, free: 224.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.111, allocations: 1.625 kB / 0.853 GB, free: 224.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002936/1.114, allocations: 1 MB / 0.854 GB, free: 224.3 MB / 0.6231 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.003283/1.117, allocations: 1.287 MB / 0.8553 GB, free: 224.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002855/1.12, allocations: 1.471 MB / 0.8567 GB, free: 223.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.12, allocations: 0 / 0.8567 GB, free: 223.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.122, allocations: 0.9324 MB / 0.8576 GB, free: 223 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.124, allocations: 402.6 kB / 0.858 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/1.128, allocations: 2.918 MB / 0.8608 GB, free: 221.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/1.129, allocations: 1.198 MB / 0.862 GB, free: 220.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001478/1.13, allocations: 0.6796 MB / 0.8627 GB, free: 220.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/1.131, allocations: 139.1 kB / 0.8628 GB, free: 220.4 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/1.131, allocations: 0 / 0.8628 GB, free: 220.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.04538/1.176, allocations: 35.41 MB / 0.8974 GB, free: 193 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile (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) 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) Reference file matches