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.005159/0.005159, allocations: 101.9 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.001159/0.001159, allocations: 194 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.326/1.326, 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.7295/0.7295, allocations: 91.18 MB / 381.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 79.88 kB / 0.5168 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3512, allocations: 67.69 MB / 0.5829 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7054/1.057, allocations: 258.9 MB / 0.8357 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01529/1.072, allocations: 12.92 MB / 0.8483 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/1.074, allocations: 72.03 kB / 0.8484 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/1.077, allocations: 1.027 MB / 0.8494 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01824/1.096, allocations: 5.515 MB / 0.8548 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007978/1.104, allocations: 2.424 MB / 0.8572 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003544/1.107, allocations: 2.016 MB / 0.8591 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/1.108, allocations: 369.9 kB / 0.8595 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/1.111, allocations: 1.315 MB / 0.8608 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/1.113, allocations: 0.8009 MB / 0.8616 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/1.113, allocations: 100 kB / 0.8617 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/1.136, allocations: 10.61 MB / 0.872 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009301/1.137, allocations: 386.6 kB / 0.8724 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/1.139, allocations: 0.707 MB / 0.8731 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02103/1.16, allocations: 6.033 MB / 0.879 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.16, allocations: 0 / 0.879 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.294e-06/1.16, allocations: 0 / 0.879 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.734e-05/1.16, allocations: 0 / 0.879 GB, free: 9.613 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.007797/1.168, allocations: 2.726 MB / 0.8816 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.168, allocations: 8.031 kB / 0.8816 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/1.169, allocations: 170 kB / 0.8818 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/1.171, allocations: 1.041 MB / 0.8828 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/1.171, allocations: 73.98 kB / 0.8829 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/1.171, allocations: 96 kB / 0.883 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.174, allocations: 1.4 MB / 0.8843 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/1.174, allocations: 0 / 0.8843 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/1.174, allocations: 36 kB / 0.8844 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/1.174, allocations: 93.89 kB / 0.8845 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/1.176, allocations: 1.534 MB / 0.886 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/1.184, allocations: 5.829 MB / 0.8917 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.186, allocations: 0.861 MB / 0.8925 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/1.187, allocations: 0.6727 MB / 0.8932 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/1.189, allocations: 2.402 MB / 0.8955 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.189, allocations: 43.69 kB / 0.8955 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.236e-06/1.189, allocations: 0 / 0.8955 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.003953/1.193, allocations: 2.107 MB / 0.8976 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.193, allocations: 94.17 kB / 0.8977 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.194, allocations: 0.8988 MB / 0.8986 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/1.194, allocations: 45.69 kB / 0.8986 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/1.194, allocations: 0.5253 MB / 0.8991 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/1.195, allocations: 390.2 kB / 0.8995 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/1.195, allocations: 182.6 kB / 0.8997 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.195, allocations: 345.9 kB / 0.9 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/1.196, allocations: 461.8 kB / 0.9004 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/1.197, allocations: 0.5162 MB / 0.9009 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.198, allocations: 1.047 MB / 0.902 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.198, allocations: 11.94 kB / 0.902 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002537/1.201, allocations: 1.387 MB / 0.9033 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.201, allocations: 4 kB / 0.9033 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.201, allocations: 0 / 0.9033 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/1.202, allocations: 125.6 kB / 0.9035 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/1.202, allocations: 187.7 kB / 0.9036 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/1.205, allocations: 3.345 MB / 0.9069 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/1.206, allocations: 79.09 kB / 0.907 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.206, allocations: 67.95 kB / 0.907 GB, free: 11.24 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.0005841/1.207, allocations: 273.6 kB / 0.9073 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.207, allocations: 134.4 kB / 0.9074 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.212, allocations: 2.053 MB / 0.9094 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/1.212, allocations: 12 kB / 0.9095 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.212, allocations: 4 kB / 0.9095 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.212, allocations: 3.984 kB / 0.9095 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/1.217, allocations: 2.996 MB / 0.9124 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.217, allocations: 0 / 0.9124 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/1.218, allocations: 179.7 kB / 0.9126 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/1.219, allocations: 121.7 kB / 0.9127 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.219, allocations: 47.95 kB / 0.9127 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/1.222, allocations: 3.36 MB / 0.916 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.222, allocations: 3.938 kB / 0.916 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/1.225, allocations: 2.228 MB / 0.9182 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/1.226, allocations: 207.3 kB / 0.9184 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/1.226, allocations: 27.94 kB / 0.9184 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/1.227, allocations: 16 kB / 0.9184 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.227, allocations: 89 kB / 0.9185 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.227, allocations: 63.94 kB / 0.9186 GB, free: 14.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009529/1.228, allocations: 0.6616 MB / 0.9192 GB, free: 14.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.633e-06/1.228, allocations: 0 / 0.9192 GB, free: 14.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003159/1.231, allocations: 0.9987 MB / 0.9202 GB, free: 13.32 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.003797/1.235, allocations: 1.29 MB / 0.9214 GB, free: 12.03 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002746/1.238, allocations: 1.472 MB / 0.9229 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.238, allocations: 0 / 0.9229 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.239, allocations: 0.9213 MB / 0.9238 GB, free: 9.582 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.241, allocations: 433.6 kB / 0.9242 GB, free: 9.172 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/1.246, allocations: 2.42 MB / 0.9266 GB, free: 6.719 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.247, allocations: 1.191 MB / 0.9277 GB, free: 5.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001463/1.249, allocations: 0.6866 MB / 0.9284 GB, free: 4.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.249, allocations: 139.4 kB / 0.9285 GB, free: 4.676 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/1.249, allocations: 4 kB / 0.9285 GB, free: 4.672 MB / 0.67 GB Notification: Performance of Templates: time 0.06318/1.313, allocations: 36.44 MB / 0.9641 GB, free: 392 kB / 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