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.0008433/0.0008433, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006125/0.006126, allocations: 169 kB / 16.26 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6829/0.6829, allocations: 91.33 MB / 382.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005955/0.0005956, allocations: 9.75 kB / 462.7 MB, free: 23.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 69.21 MB / 0.5195 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5799/0.7454, allocations: 256.2 MB / 0.7696 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.7618, allocations: 13.09 MB / 0.7824 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.7632, allocations: 75.5 kB / 0.7825 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.7655, allocations: 0.9177 MB / 0.7834 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.7777, allocations: 4.771 MB / 0.788 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.7837, allocations: 2.111 MB / 0.7901 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.7872, allocations: 2.848 MB / 0.7929 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.7879, allocations: 332 kB / 0.7932 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.791, allocations: 1.179 MB / 0.7943 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.7926, allocations: 0.7697 MB / 0.7951 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.7929, allocations: 44 kB / 0.7951 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02461/0.8175, allocations: 11.82 MB / 0.8067 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.8184, allocations: 326.6 kB / 0.807 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.8199, allocations: 0.6657 MB / 0.8076 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3958/1.216, allocations: 6.245 MB / 0.8137 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.216, allocations: 0 / 0.8137 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.876e-06/1.216, allocations: 0 / 0.8137 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.502e-05/1.216, allocations: 3.094 kB / 0.8137 GB, free: 12.89 MB / 0.6075 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.008855/1.225, allocations: 2.472 MB / 0.8162 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.225, allocations: 8.75 kB / 0.8162 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/1.225, allocations: 162.2 kB / 0.8163 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.227, allocations: 0.9399 MB / 0.8172 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/1.227, allocations: 72.06 kB / 0.8173 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.227, allocations: 100 kB / 0.8174 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/1.229, allocations: 1.4 MB / 0.8188 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/1.229, allocations: 4.469 kB / 0.8188 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/1.229, allocations: 39.67 kB / 0.8188 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/1.229, allocations: 90.14 kB / 0.8189 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/1.232, allocations: 1.526 MB / 0.8204 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008114/1.24, allocations: 5.86 MB / 0.8261 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.241, allocations: 0.8584 MB / 0.827 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.242, allocations: 0.6763 MB / 0.8276 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/1.245, allocations: 2.413 MB / 0.83 GB, free: 21.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.245, allocations: 51.14 kB / 0.83 GB, free: 21.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 4.909e-06/1.245, allocations: 0 / 0.83 GB, free: 21.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.005041/1.25, allocations: 2.092 MB / 0.8321 GB, free: 21.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.25, allocations: 90.2 kB / 0.8321 GB, free: 21.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.252, allocations: 0.8949 MB / 0.833 GB, free: 21.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.252, allocations: 43.95 kB / 0.8331 GB, free: 21.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/1.252, allocations: 0.5343 MB / 0.8336 GB, free: 20.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.253, allocations: 383.6 kB / 0.834 GB, free: 20.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.253, allocations: 82.28 kB / 0.834 GB, free: 20.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.253, allocations: 348.2 kB / 0.8344 GB, free: 20.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/1.254, allocations: 458.2 kB / 0.8348 GB, free: 20.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/1.255, allocations: 0.5169 MB / 0.8353 GB, free: 20.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.257, allocations: 1.05 MB / 0.8363 GB, free: 20.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.257, allocations: 0 / 0.8363 GB, free: 20.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003091/1.26, allocations: 1.39 MB / 0.8377 GB, free: 20.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.26, allocations: 6.062 kB / 0.8377 GB, free: 20.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.26, allocations: 0 / 0.8377 GB, free: 20.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/1.26, allocations: 120.7 kB / 0.8378 GB, free: 20.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/1.261, allocations: 184.8 kB / 0.838 GB, free: 20.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/1.264, allocations: 3.122 MB / 0.841 GB, free: 17.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/1.265, allocations: 90.55 kB / 0.8411 GB, free: 17.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.265, allocations: 63.61 kB / 0.8412 GB, free: 17.47 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.0007915/1.266, allocations: 284.1 kB / 0.8415 GB, free: 17.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/1.267, allocations: 133.4 kB / 0.8416 GB, free: 17.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/1.271, allocations: 2.048 MB / 0.8436 GB, free: 17.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/1.271, allocations: 14.95 kB / 0.8436 GB, free: 17.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.271, allocations: 1.812 kB / 0.8436 GB, free: 17.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.271, allocations: 8.844 kB / 0.8436 GB, free: 17.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/1.276, allocations: 2.997 MB / 0.8465 GB, free: 16.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.276, allocations: 0 / 0.8465 GB, free: 16.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/1.277, allocations: 174.8 kB / 0.8467 GB, free: 16.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/1.277, allocations: 132 kB / 0.8468 GB, free: 16.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.277, allocations: 39.73 kB / 0.8469 GB, free: 16.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/1.281, allocations: 3.13 MB / 0.8499 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.281, allocations: 2.906 kB / 0.8499 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/1.285, allocations: 2.232 MB / 0.8521 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/1.286, allocations: 221.3 kB / 0.8523 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/1.287, allocations: 24.39 kB / 0.8523 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.288, allocations: 50.34 kB / 0.8524 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.288, allocations: 90.19 kB / 0.8525 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.288, allocations: 60.14 kB / 0.8525 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001169/1.289, allocations: 0.6597 MB / 0.8532 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/1.289, allocations: 0 / 0.8532 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003886/1.293, allocations: 1.001 MB / 0.8541 GB, free: 13.2 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.003554/1.297, allocations: 1.287 MB / 0.8554 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002362/1.299, allocations: 1.467 MB / 0.8568 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.299, allocations: 0 / 0.8568 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.301, allocations: 0.9254 MB / 0.8577 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.303, allocations: 406 kB / 0.8581 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/1.307, allocations: 3.007 MB / 0.8611 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/1.308, allocations: 1.191 MB / 0.8622 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00146/1.31, allocations: 0.6723 MB / 0.8629 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.31, allocations: 150 kB / 0.863 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/1.31, allocations: 4 kB / 0.863 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.05481/1.365, allocations: 35.13 MB / 0.8973 GB, free: 10.67 MB / 0.6387 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