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.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_dev_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_dev_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.001351/0.001351, allocations: 106 kB / 16.4 MB, free: 6.457 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.001377/0.001377, allocations: 191.8 kB / 17.34 MB, free: 5.734 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7841/0.7841, allocations: 97.64 MB / 388.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 84.09 kB / 0.5268 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1042, allocations: 69.23 MB / 0.5944 GB, free: 496 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5523/0.6566, allocations: 259.5 MB / 0.8478 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.6704, allocations: 12.97 MB / 0.8605 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.6716, allocations: 73.88 kB / 0.8606 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.674, allocations: 1.037 MB / 0.8616 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.6877, allocations: 5.544 MB / 0.867 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.6939, allocations: 2.423 MB / 0.8694 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.697, allocations: 2.058 MB / 0.8714 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.6975, allocations: 263.6 kB / 0.8716 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.7003, allocations: 1.34 MB / 0.8729 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.7013, allocations: 0.8048 MB / 0.8737 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.7015, allocations: 100 kB / 0.8738 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02043/0.7219, allocations: 10.62 MB / 0.8842 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006336/0.7226, allocations: 390.5 kB / 0.8846 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7237, allocations: 0.7109 MB / 0.8853 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.7389, allocations: 6.072 MB / 0.8912 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.7389, allocations: 0 / 0.8912 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7389, allocations: 4 kB / 0.8912 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.739, allocations: 0 / 0.8912 GB, free: 1.91 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.006836/0.7458, allocations: 2.827 MB / 0.894 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.7459, allocations: 16.02 kB / 0.894 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.7462, allocations: 174.9 kB / 0.8941 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.7483, allocations: 1.077 MB / 0.8952 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.7484, allocations: 69.98 kB / 0.8953 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.7486, allocations: 103.9 kB / 0.8954 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.7509, allocations: 1.393 MB / 0.8967 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.751, allocations: 8 kB / 0.8967 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.7511, allocations: 39.98 kB / 0.8968 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.7512, allocations: 81.95 kB / 0.8968 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.7536, allocations: 1.534 MB / 0.8983 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009019/0.7626, allocations: 5.847 MB / 0.9041 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.7644, allocations: 0.7849 MB / 0.9048 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.7654, allocations: 0.5875 MB / 0.9054 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/0.7678, allocations: 2.398 MB / 0.9077 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.7678, allocations: 51.69 kB / 0.9078 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.817e-06/0.7678, allocations: 0 / 0.9078 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.004569/0.7724, allocations: 2.108 MB / 0.9098 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.7725, allocations: 90.23 kB / 0.9099 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.7737, allocations: 0.9119 MB / 0.9108 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.7739, allocations: 45.7 kB / 0.9109 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.7744, allocations: 0.5416 MB / 0.9114 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.7748, allocations: 412.4 kB / 0.9118 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/0.7751, allocations: 178.6 kB / 0.912 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7753, allocations: 341.9 kB / 0.9123 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008267/0.7761, allocations: 470.5 kB / 0.9127 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.7771, allocations: 0.5201 MB / 0.9132 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.7789, allocations: 1.047 MB / 0.9143 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.7789, allocations: 0 / 0.9143 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002766/0.7817, allocations: 1.399 MB / 0.9156 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7817, allocations: 4 kB / 0.9156 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7817, allocations: 0 / 0.9156 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.7823, allocations: 122.3 kB / 0.9157 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.783, allocations: 184.8 kB / 0.9159 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.7866, allocations: 3.361 MB / 0.9192 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.7873, allocations: 75.38 kB / 0.9193 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.7874, allocations: 64.78 kB / 0.9193 GB, free: 3.488 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.000564/0.788, allocations: 277.6 kB / 0.9196 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.7883, allocations: 135.1 kB / 0.9197 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.7924, allocations: 2.048 MB / 0.9217 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.7924, allocations: 12 kB / 0.9217 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.7924, allocations: 4 kB / 0.9217 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.7924, allocations: 3.984 kB / 0.9218 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/0.7978, allocations: 3.016 MB / 0.9247 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7978, allocations: 0 / 0.9247 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007536/0.7985, allocations: 171.8 kB / 0.9249 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.799, allocations: 133.6 kB / 0.925 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7991, allocations: 35.98 kB / 0.925 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.8028, allocations: 3.373 MB / 0.9283 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8028, allocations: 3.938 kB / 0.9283 GB, free: 9.891 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.8068, allocations: 2.233 MB / 0.9305 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.8072, allocations: 224 kB / 0.9307 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8073, allocations: 20 kB / 0.9307 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.8078, allocations: 27.86 kB / 0.9308 GB, free: 7.352 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.808, allocations: 89 kB / 0.9308 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.8082, allocations: 59.97 kB / 0.9309 GB, free: 7.207 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001025/0.8092, allocations: 0.6701 MB / 0.9316 GB, free: 6.531 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8092, allocations: 0 / 0.9316 GB, free: 6.531 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002899/0.8121, allocations: 1.02 MB / 0.9326 GB, free: 5.508 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.003362/0.8155, allocations: 1.292 MB / 0.9338 GB, free: 4.203 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002927/0.8184, allocations: 1.394 MB / 0.9352 GB, free: 2.781 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8184, allocations: 0 / 0.9352 GB, free: 2.781 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.8199, allocations: 0.8627 MB / 0.936 GB, free: 1.898 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.8222, allocations: 413.7 kB / 0.9364 GB, free: 1.504 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.8269, allocations: 2.512 MB / 0.9389 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009442/0.8278, allocations: 1.199 MB / 0.94 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001571/0.8294, allocations: 0.6765 MB / 0.9407 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.8298, allocations: 143.4 kB / 0.9408 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of SimCode: time 1.442e-06/0.8298, allocations: 0 / 0.9408 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of Templates: time 0.06346/0.8933, allocations: 36.66 MB / 0.9766 GB, free: 8.398 MB / 0.7169 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) 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) Reference file matches