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.001563/0.001563, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001878/0.001878, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.335/1.335, 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.6705/0.6705, allocations: 89.5 MB / 380.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 75.88 kB / 459.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 67.31 MB / 0.5146 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7571/0.8735, allocations: 258.4 MB / 0.7669 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.8874, allocations: 12.74 MB / 0.7794 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.8883, allocations: 16.88 kB / 0.7794 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.8906, allocations: 0.9576 MB / 0.7803 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.9034, allocations: 5.358 MB / 0.7856 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005784/0.9092, allocations: 2.397 MB / 0.7879 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002831/0.912, allocations: 1.705 MB / 0.7896 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.9127, allocations: 350.6 kB / 0.7899 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.9152, allocations: 1.15 MB / 0.791 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.9163, allocations: 0.7404 MB / 0.7918 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.9165, allocations: 100.4 kB / 0.7918 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.9349, allocations: 10.6 MB / 0.8022 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.9355, allocations: 369.9 kB / 0.8026 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.9365, allocations: 0.6126 MB / 0.8032 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.9502, allocations: 5.757 MB / 0.8088 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9502, allocations: 1 kB / 0.8088 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9502, allocations: 0 / 0.8088 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.9502, allocations: 0 / 0.8088 GB, free: 15.75 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.005252/0.9555, allocations: 2.436 MB / 0.8112 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.9555, allocations: 8.5 kB / 0.8112 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.9558, allocations: 128 kB / 0.8113 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.9566, allocations: 0.6091 MB / 0.8119 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.9567, allocations: 67.33 kB / 0.8119 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.9568, allocations: 102.1 kB / 0.812 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.9586, allocations: 1.376 MB / 0.8134 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.9586, allocations: 0 / 0.8134 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.9587, allocations: 39.98 kB / 0.8134 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.673e-05/0.9588, allocations: 83.95 kB / 0.8135 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.9606, allocations: 1.515 MB / 0.815 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005735/0.9663, allocations: 5.084 MB / 0.8199 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.9676, allocations: 0.8463 MB / 0.8208 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.9685, allocations: 0.6721 MB / 0.8214 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.9703, allocations: 2.402 MB / 0.8238 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.9704, allocations: 42.69 kB / 0.8238 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.246e-06/0.9704, allocations: 3.906 kB / 0.8238 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.003553/0.9739, allocations: 2.067 MB / 0.8258 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.974, allocations: 90.48 kB / 0.8259 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.9747, allocations: 0.6152 MB / 0.8265 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.9748, allocations: 42.95 kB / 0.8266 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.975, allocations: 388.3 kB / 0.8269 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.9753, allocations: 402 kB / 0.8273 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.9756, allocations: 187.2 kB / 0.8275 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9757, allocations: 344.8 kB / 0.8278 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.9763, allocations: 462.4 kB / 0.8283 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.9771, allocations: 0.522 MB / 0.8288 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.9786, allocations: 1.049 MB / 0.8298 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9786, allocations: 2.531 kB / 0.8298 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002219/0.9808, allocations: 1.353 MB / 0.8311 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9808, allocations: 4 kB / 0.8311 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9808, allocations: 4.625 kB / 0.8311 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.9813, allocations: 124.8 kB / 0.8313 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.982, allocations: 180.2 kB / 0.8314 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.9849, allocations: 3.358 MB / 0.8347 GB, free: 36 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.9855, allocations: 73.11 kB / 0.8348 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.9856, allocations: 68.72 kB / 0.8348 GB, free: 15.92 MB / 0.6075 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.0004309/0.9861, allocations: 256.2 kB / 0.8351 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.9863, allocations: 94.88 kB / 0.8352 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.99, allocations: 2.018 MB / 0.8371 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.9901, allocations: 12 kB / 0.8372 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9901, allocations: 0 / 0.8372 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.9901, allocations: 15.95 kB / 0.8372 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.9945, allocations: 2.887 MB / 0.84 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9945, allocations: 4 kB / 0.84 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.9952, allocations: 178 kB / 0.8402 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.9956, allocations: 127.7 kB / 0.8403 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.131e-05/0.9957, allocations: 39.97 kB / 0.8403 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.9986, allocations: 3.354 MB / 0.8436 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9986, allocations: 6.469 kB / 0.8436 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/1.002, allocations: 2.183 MB / 0.8457 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/1.002, allocations: 179.7 kB / 0.8459 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.002, allocations: 30.28 kB / 0.8459 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/1.003, allocations: 27.97 kB / 0.846 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.003, allocations: 91.53 kB / 0.8461 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.003, allocations: 59.97 kB / 0.8461 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005937/1.004, allocations: 484.9 kB / 0.8466 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/1.004, allocations: 0 / 0.8466 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002736/1.007, allocations: 0.9856 MB / 0.8475 GB, free: 3.812 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.002635/1.009, allocations: 1.28 MB / 0.8488 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.012, allocations: 1.474 MB / 0.8502 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.012, allocations: 0 / 0.8502 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/1.013, allocations: 0.9329 MB / 0.8511 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.015, allocations: 390.5 kB / 0.8515 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/1.018, allocations: 2.089 MB / 0.8535 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/1.019, allocations: 1.092 MB / 0.8546 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001228/1.02, allocations: 0.6421 MB / 0.8552 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/1.02, allocations: 115.4 kB / 0.8554 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/1.02, allocations: 0 / 0.8554 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.05196/1.072, allocations: 35.26 MB / 0.8898 GB, free: 9.008 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 -s gbode -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