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.00132/0.00132, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001299/0.001299, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.642/0.642, allocations: 91.19 MB / 382.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001628, allocations: 83.88 kB / 461 MB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 67.69 MB / 0.5163 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7283/0.8462, allocations: 258.8 MB / 0.769 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.8602, allocations: 12.92 MB / 0.7817 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.8616, allocations: 73.31 kB / 0.7817 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.8639, allocations: 0.9883 MB / 0.7827 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/0.8775, allocations: 5.449 MB / 0.788 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/0.8834, allocations: 2.411 MB / 0.7904 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.8862, allocations: 1.999 MB / 0.7923 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.887, allocations: 371.4 kB / 0.7927 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.8896, allocations: 1.284 MB / 0.7939 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.891, allocations: 0.7988 MB / 0.7947 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003264/0.8914, allocations: 100.8 kB / 0.7948 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.9088, allocations: 10.56 MB / 0.8051 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.9096, allocations: 387.6 kB / 0.8055 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.9109, allocations: 0.7046 MB / 0.8062 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.9245, allocations: 5.979 MB / 0.812 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9246, allocations: 3.75 kB / 0.812 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9246, allocations: 0 / 0.812 GB, free: 15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.601e-05/0.9246, allocations: 0.875 kB / 0.812 GB, free: 15 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006332/0.931, allocations: 2.72 MB / 0.8147 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.931, allocations: 7.531 kB / 0.8147 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.9314, allocations: 162.3 kB / 0.8148 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.9329, allocations: 0.9353 MB / 0.8158 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.9329, allocations: 73.48 kB / 0.8158 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.9331, allocations: 100.8 kB / 0.8159 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.935, allocations: 1.405 MB / 0.8173 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.935, allocations: 0 / 0.8173 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.9351, allocations: 38.89 kB / 0.8173 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.9352, allocations: 89.86 kB / 0.8174 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.937, allocations: 1.531 MB / 0.8189 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.9441, allocations: 5.859 MB / 0.8246 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.9455, allocations: 0.8618 MB / 0.8255 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/0.9463, allocations: 0.6711 MB / 0.8261 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.9482, allocations: 2.406 MB / 0.8285 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.9483, allocations: 47.91 kB / 0.8285 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.706e-06/0.9483, allocations: 0 / 0.8285 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.00378/0.9521, allocations: 2.103 MB / 0.8306 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.9521, allocations: 90.23 kB / 0.8307 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.9532, allocations: 0.8915 MB / 0.8315 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/0.9533, allocations: 44.77 kB / 0.8316 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.9536, allocations: 0.528 MB / 0.8321 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.9539, allocations: 391.5 kB / 0.8325 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.9542, allocations: 190.7 kB / 0.8326 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9543, allocations: 343.2 kB / 0.833 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.955, allocations: 462.2 kB / 0.8334 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.9558, allocations: 0.5253 MB / 0.8339 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.9573, allocations: 1.042 MB / 0.8349 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9573, allocations: 0 / 0.8349 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00226/0.9596, allocations: 1.383 MB / 0.8363 GB, free: 168 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9596, allocations: 11.92 kB / 0.8363 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9597, allocations: 0 / 0.8363 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.9601, allocations: 127.8 kB / 0.8364 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.9608, allocations: 181.9 kB / 0.8366 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.9636, allocations: 3.358 MB / 0.8399 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.9642, allocations: 77.88 kB / 0.84 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.9643, allocations: 63.97 kB / 0.84 GB, free: 12.39 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.0004972/0.9648, allocations: 285 kB / 0.8403 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.9651, allocations: 130.3 kB / 0.8404 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.9687, allocations: 2.048 MB / 0.8424 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/0.9687, allocations: 12 kB / 0.8424 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9687, allocations: 0 / 0.8424 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.9687, allocations: 3.984 kB / 0.8424 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/0.9731, allocations: 3.001 MB / 0.8454 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.9731, allocations: 6.312 kB / 0.8454 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.9737, allocations: 169.4 kB / 0.8455 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/0.9741, allocations: 129.6 kB / 0.8457 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.9742, allocations: 43.97 kB / 0.8457 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.977, allocations: 3.36 MB / 0.849 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.977, allocations: 0 / 0.849 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.9803, allocations: 2.229 MB / 0.8512 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.9806, allocations: 207.2 kB / 0.8513 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9808, allocations: 31.61 kB / 0.8514 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.9813, allocations: 16 kB / 0.8514 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.9814, allocations: 95.69 kB / 0.8515 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.9816, allocations: 59.97 kB / 0.8515 GB, free: 300 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008513/0.9824, allocations: 0.6595 MB / 0.8522 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9824, allocations: 0 / 0.8522 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002443/0.9849, allocations: 0.9982 MB / 0.8532 GB, free: 14.63 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.002637/0.9875, allocations: 1.283 MB / 0.8544 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.9903, allocations: 1.566 MB / 0.8559 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9903, allocations: 2.531 kB / 0.8559 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.9916, allocations: 0.9309 MB / 0.8569 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.9936, allocations: 418.2 kB / 0.8573 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.9976, allocations: 2.52 MB / 0.8597 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/0.9984, allocations: 1.195 MB / 0.8609 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.9989, allocations: 163.4 kB / 0.861 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.9989, allocations: 0 / 0.861 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of Templates: time 0.04853/1.047, allocations: 41.8 MB / 0.9019 GB, free: 12.98 MB / 0.67 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