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.007324/0.007324, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001723/0.001723, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.717/0.717, allocations: 91.18 MB / 381.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 79.86 kB / 0.5168 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3581, allocations: 67.69 MB / 0.5829 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6374/0.9956, allocations: 258.8 MB / 0.8357 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01718/1.013, allocations: 12.92 MB / 0.8483 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/1.015, allocations: 72.03 kB / 0.8484 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/1.018, allocations: 0.9948 MB / 0.8494 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01621/1.035, allocations: 5.449 MB / 0.8547 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007532/1.042, allocations: 2.407 MB / 0.857 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003242/1.045, allocations: 2.011 MB / 0.859 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/1.046, allocations: 379.9 kB / 0.8594 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/1.049, allocations: 1.315 MB / 0.8607 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/1.05, allocations: 0.7971 MB / 0.8614 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/1.05, allocations: 100 kB / 0.8615 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0193/1.069, allocations: 10.6 MB / 0.8719 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005332/1.07, allocations: 394.5 kB / 0.8723 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009427/1.071, allocations: 0.6993 MB / 0.8729 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01641/1.087, allocations: 6.037 MB / 0.8788 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/1.087, allocations: 0 / 0.8788 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/1.087, allocations: 0 / 0.8788 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.166e-05/1.087, allocations: 4 kB / 0.8788 GB, free: 9.727 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.006266/1.093, allocations: 2.715 MB / 0.8815 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.093, allocations: 8.031 kB / 0.8815 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/1.094, allocations: 166 kB / 0.8817 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/1.095, allocations: 1.052 MB / 0.8827 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/1.096, allocations: 66 kB / 0.8828 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/1.096, allocations: 99.98 kB / 0.8828 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.098, allocations: 1.389 MB / 0.8842 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.098, allocations: 4 kB / 0.8842 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/1.098, allocations: 43.97 kB / 0.8842 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.098, allocations: 89.89 kB / 0.8843 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.1, allocations: 1.534 MB / 0.8858 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/1.107, allocations: 5.825 MB / 0.8915 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.109, allocations: 0.8622 MB / 0.8924 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/1.11, allocations: 0.6688 MB / 0.893 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/1.112, allocations: 2.406 MB / 0.8954 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.112, allocations: 47.69 kB / 0.8954 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.366e-06/1.112, allocations: 0 / 0.8954 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004007/1.116, allocations: 2.107 MB / 0.8975 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/1.116, allocations: 90.17 kB / 0.8976 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.117, allocations: 0.9066 MB / 0.8984 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/1.117, allocations: 41.7 kB / 0.8985 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.117, allocations: 0.5214 MB / 0.899 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/1.118, allocations: 394.2 kB / 0.8994 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/1.118, allocations: 186.6 kB / 0.8995 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.118, allocations: 341.9 kB / 0.8999 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/1.119, allocations: 457.8 kB / 0.9003 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/1.12, allocations: 0.5201 MB / 0.9008 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/1.121, allocations: 1.051 MB / 0.9018 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.121, allocations: 3.938 kB / 0.9018 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002317/1.124, allocations: 1.383 MB / 0.9032 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.124, allocations: 8 kB / 0.9032 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.124, allocations: 0 / 0.9032 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/1.124, allocations: 121.6 kB / 0.9033 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/1.125, allocations: 187.7 kB / 0.9035 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/1.128, allocations: 3.353 MB / 0.9068 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/1.128, allocations: 75.09 kB / 0.9068 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.129, allocations: 59.97 kB / 0.9069 GB, free: 11.38 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.0004698/1.129, allocations: 285.7 kB / 0.9072 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/1.129, allocations: 126.4 kB / 0.9073 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/1.133, allocations: 2.051 MB / 0.9093 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.133, allocations: 12 kB / 0.9093 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.133, allocations: 4 kB / 0.9093 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.133, allocations: 7.969 kB / 0.9093 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/1.137, allocations: 2.996 MB / 0.9122 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.137, allocations: 0 / 0.9122 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/1.138, allocations: 171.8 kB / 0.9124 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003824/1.138, allocations: 129.6 kB / 0.9125 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/1.138, allocations: 39.97 kB / 0.9126 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/1.141, allocations: 3.364 MB / 0.9159 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.141, allocations: 4.031 kB / 0.9159 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/1.145, allocations: 2.224 MB / 0.918 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1.145, allocations: 211.2 kB / 0.9182 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.145, allocations: 23.92 kB / 0.9183 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/1.145, allocations: 24 kB / 0.9183 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.146, allocations: 89.25 kB / 0.9184 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.146, allocations: 59.97 kB / 0.9184 GB, free: 15.12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008166/1.147, allocations: 0.6577 MB / 0.9191 GB, free: 14.46 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.147, allocations: 0 / 0.9191 GB, free: 14.46 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002493/1.149, allocations: 1.007 MB / 0.92 GB, free: 13.45 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.002629/1.152, allocations: 1.293 MB / 0.9213 GB, free: 12.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002416/1.154, allocations: 1.476 MB / 0.9228 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.154, allocations: 0 / 0.9228 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/1.155, allocations: 0.9254 MB / 0.9237 GB, free: 9.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.158, allocations: 416.9 kB / 0.9241 GB, free: 9.301 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/1.162, allocations: 2.425 MB / 0.9264 GB, free: 6.844 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/1.162, allocations: 1.191 MB / 0.9276 GB, free: 5.625 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001356/1.164, allocations: 0.6785 MB / 0.9282 GB, free: 4.945 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/1.164, allocations: 139.4 kB / 0.9284 GB, free: 4.809 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.164, allocations: 0 / 0.9284 GB, free: 4.809 MB / 0.67 GB Notification: Performance of Templates: time 0.05515/1.219, allocations: 36.44 MB / 0.964 GB, free: 0.5156 MB / 0.7012 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