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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001429/0.001429, allocations: 101.1 kB / 16.27 MB, free: 6.414 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: 190.3 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7128/0.7128, allocations: 89.46 MB / 380.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 83.88 kB / 458.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1241, allocations: 67.3 MB / 0.5138 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7184/0.8425, allocations: 258.4 MB / 0.7661 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.8565, allocations: 12.74 MB / 0.7786 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008481/0.8574, allocations: 16.38 kB / 0.7786 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.8596, allocations: 0.9607 MB / 0.7795 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.8726, allocations: 5.351 MB / 0.7848 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005834/0.8784, allocations: 2.395 MB / 0.7871 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.881, allocations: 1.701 MB / 0.7888 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.8816, allocations: 357.1 kB / 0.7891 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.8842, allocations: 1.155 MB / 0.7902 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.8852, allocations: 0.7387 MB / 0.7909 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.8854, allocations: 102.4 kB / 0.791 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01789/0.9033, allocations: 10.56 MB / 0.8014 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.9039, allocations: 368.4 kB / 0.8017 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.9049, allocations: 0.6109 MB / 0.8023 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.9221, allocations: 5.723 MB / 0.8079 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.9222, allocations: 1.062 kB / 0.8079 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9222, allocations: 0 / 0.8079 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.496e-05/0.9222, allocations: 0 / 0.8079 GB, free: 15.81 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006461/0.9287, allocations: 2.439 MB / 0.8103 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9287, allocations: 9.562 kB / 0.8103 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.9291, allocations: 125.2 kB / 0.8104 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.93, allocations: 0.6097 MB / 0.811 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.9301, allocations: 71.23 kB / 0.8111 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.9302, allocations: 97.62 kB / 0.8112 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.9321, allocations: 1.379 MB / 0.8125 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.9321, allocations: 3.938 kB / 0.8125 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.9322, allocations: 39.12 kB / 0.8125 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.9323, allocations: 84.83 kB / 0.8126 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.9342, allocations: 1.51 MB / 0.8141 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006392/0.9406, allocations: 5.117 MB / 0.8191 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.942, allocations: 0.8487 MB / 0.8199 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.9429, allocations: 0.6709 MB / 0.8206 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.945, allocations: 2.404 MB / 0.8229 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.9451, allocations: 46.59 kB / 0.823 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.697e-06/0.9451, allocations: 0.9062 kB / 0.823 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.00382/0.9489, allocations: 2.07 MB / 0.825 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.949, allocations: 87.86 kB / 0.8251 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.9498, allocations: 0.6173 MB / 0.8257 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.9499, allocations: 46.23 kB / 0.8257 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.9501, allocations: 393.4 kB / 0.8261 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.9505, allocations: 391.3 kB / 0.8265 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.9508, allocations: 184.3 kB / 0.8267 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.951, allocations: 348.1 kB / 0.827 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.9516, allocations: 459.1 kB / 0.8274 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/0.9524, allocations: 0.5223 MB / 0.8279 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.954, allocations: 1.043 MB / 0.829 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.954, allocations: 0 / 0.829 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002462/0.9565, allocations: 1.363 MB / 0.8303 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9565, allocations: 4 kB / 0.8303 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9565, allocations: 0 / 0.8303 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.957, allocations: 127 kB / 0.8304 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.9577, allocations: 183.2 kB / 0.8306 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.9609, allocations: 3.352 MB / 0.8339 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.9616, allocations: 76.52 kB / 0.8339 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.9617, allocations: 63.34 kB / 0.834 GB, free: 52 kB / 0.5919 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.0004839/0.9622, allocations: 263 kB / 0.8342 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.9625, allocations: 90.88 kB / 0.8343 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.9662, allocations: 2.034 MB / 0.8363 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.9662, allocations: 8 kB / 0.8363 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.9662, allocations: 4 kB / 0.8363 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.9662, allocations: 7.969 kB / 0.8363 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.9707, allocations: 2.891 MB / 0.8392 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9708, allocations: 4 kB / 0.8392 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.9715, allocations: 170.1 kB / 0.8393 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.9719, allocations: 131.8 kB / 0.8394 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.862e-05/0.972, allocations: 39.97 kB / 0.8395 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.9752, allocations: 3.361 MB / 0.8428 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9752, allocations: 4.031 kB / 0.8428 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/0.9789, allocations: 2.187 MB / 0.8449 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.9792, allocations: 183.7 kB / 0.8451 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.9793, allocations: 23.94 kB / 0.8451 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.9798, allocations: 28.67 kB / 0.8451 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.98, allocations: 89.06 kB / 0.8452 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.9801, allocations: 59.97 kB / 0.8453 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006287/0.9808, allocations: 483 kB / 0.8457 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.22e-07/0.9808, allocations: 0 / 0.8457 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002703/0.9835, allocations: 0.9891 MB / 0.8467 GB, free: 3.984 MB / 0.6075 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.003029/0.9865, allocations: 1.283 MB / 0.848 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.9896, allocations: 1.566 MB / 0.8495 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9896, allocations: 0 / 0.8495 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.9911, allocations: 0.9245 MB / 0.8504 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.9931, allocations: 397 kB / 0.8508 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.9971, allocations: 2.17 MB / 0.8529 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.9978, allocations: 1.082 MB / 0.8539 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.9983, allocations: 139.4 kB / 0.8541 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.9983, allocations: 0 / 0.8541 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.04902/1.047, allocations: 36.77 MB / 0.89 GB, free: 7.91 MB / 0.6544 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches