Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 213.3 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7778/0.7778, allocations: 100.9 MB / 413.3 MB, free: 2.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 85.12 kB / 0.5646 GB, free: 35.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 74.62 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5834/0.7128, allocations: 226.7 MB / 0.8589 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.7293, allocations: 11.78 MB / 0.8704 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.7309, allocations: 107 kB / 0.8705 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.7335, allocations: 0.8765 MB / 0.8713 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.7493, allocations: 5.495 MB / 0.8767 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007175/0.7565, allocations: 2.463 MB / 0.8791 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003247/0.7597, allocations: 2.075 MB / 0.8811 GB, free: 124 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006943/0.7604, allocations: 244 kB / 0.8813 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.7638, allocations: 1.397 MB / 0.8827 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.7653, allocations: 0.7696 MB / 0.8835 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003055/0.7656, allocations: 100 kB / 0.8836 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/0.7844, allocations: 8.768 MB / 0.8921 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006938/0.7851, allocations: 394.5 kB / 0.8925 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.7862, allocations: 0.579 MB / 0.8931 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.8017, allocations: 5.815 MB / 0.8987 GB, free: 14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8017, allocations: 4 kB / 0.8987 GB, free: 14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8017, allocations: 0 / 0.8987 GB, free: 14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.3e-05/0.8018, allocations: 0 / 0.8987 GB, free: 14 MB / 0.6544 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.00708/0.8089, allocations: 2.748 MB / 0.9014 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8089, allocations: 17.45 kB / 0.9014 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.8094, allocations: 174.9 kB / 0.9016 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.8116, allocations: 0.9746 MB / 0.9026 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.8117, allocations: 73.94 kB / 0.9026 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.8119, allocations: 103.9 kB / 0.9027 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.8142, allocations: 1.42 MB / 0.9041 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.8142, allocations: 0 / 0.9041 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.8143, allocations: 39.98 kB / 0.9042 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.8144, allocations: 89.95 kB / 0.9042 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.8167, allocations: 1.554 MB / 0.9058 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007064/0.8238, allocations: 3.713 MB / 0.9094 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.8253, allocations: 0.7708 MB / 0.9101 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/0.8262, allocations: 0.598 MB / 0.9107 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009629/0.8271, allocations: 316.7 kB / 0.911 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.8272, allocations: 43.56 kB / 0.9111 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.717e-06/0.8272, allocations: 4 kB / 0.9111 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.003948/0.8311, allocations: 1.938 MB / 0.913 GB, free: 15.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.8312, allocations: 98.05 kB / 0.9131 GB, free: 15.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/0.8322, allocations: 0.8005 MB / 0.9138 GB, free: 14.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.8323, allocations: 41.7 kB / 0.9139 GB, free: 14.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.8327, allocations: 0.5448 MB / 0.9144 GB, free: 13.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.833, allocations: 416.4 kB / 0.9148 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.8333, allocations: 178.6 kB / 0.915 GB, free: 13.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8335, allocations: 349.9 kB / 0.9153 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.8342, allocations: 465.7 kB / 0.9158 GB, free: 12.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008306/0.8351, allocations: 0.52 MB / 0.9163 GB, free: 11.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.8367, allocations: 1.041 MB / 0.9173 GB, free: 10.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8367, allocations: 0 / 0.9173 GB, free: 10.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002491/0.8392, allocations: 1.392 MB / 0.9186 GB, free: 9.301 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8392, allocations: 5.562 kB / 0.9186 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8392, allocations: 4 kB / 0.9186 GB, free: 9.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.8397, allocations: 121.6 kB / 0.9188 GB, free: 9.168 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.8404, allocations: 183.8 kB / 0.9189 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.8436, allocations: 3.083 MB / 0.9219 GB, free: 5.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.8441, allocations: 63.52 kB / 0.922 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.8443, allocations: 63.97 kB / 0.9221 GB, free: 5.578 MB / 0.67 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.0005815/0.8449, allocations: 271.6 kB / 0.9223 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.8453, allocations: 131.2 kB / 0.9225 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.8491, allocations: 2.043 MB / 0.9244 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.8491, allocations: 15.94 kB / 0.9245 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8491, allocations: 0 / 0.9245 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.8492, allocations: 11.97 kB / 0.9245 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.8537, allocations: 2.656 MB / 0.9271 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.8537, allocations: 7.938 kB / 0.9271 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.8544, allocations: 167.9 kB / 0.9272 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.8548, allocations: 129.9 kB / 0.9274 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.8549, allocations: 39.98 kB / 0.9274 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.8579, allocations: 3.108 MB / 0.9304 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8579, allocations: 0 / 0.9304 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.8616, allocations: 2.22 MB / 0.9326 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.8619, allocations: 122.9 kB / 0.9327 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.8621, allocations: 35.88 kB / 0.9328 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.8626, allocations: 16 kB / 0.9328 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.8628, allocations: 96.77 kB / 0.9329 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.863, allocations: 63.91 kB / 0.9329 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009436/0.8639, allocations: 0.5807 MB / 0.9335 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8639, allocations: 0 / 0.9335 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003246/0.8672, allocations: 1.044 MB / 0.9345 GB, free: 8.516 MB / 0.6856 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.003491/0.8706, allocations: 1.286 MB / 0.9358 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002688/0.8733, allocations: 1.392 MB / 0.9371 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8733, allocations: 4 kB / 0.9371 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.8748, allocations: 0.8543 MB / 0.938 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.8767, allocations: 376.7 kB / 0.9383 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.8815, allocations: 2.499 MB / 0.9408 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.8823, allocations: 0.6131 MB / 0.9414 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001431/0.8837, allocations: 0.6585 MB / 0.942 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.8841, allocations: 143.4 kB / 0.9421 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/0.8841, allocations: 0 / 0.9421 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of Templates: time 0.05766/0.9418, allocations: 37.33 MB / 0.9786 GB, free: 11.55 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.553348742425442]