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.001717/0.001717, allocations: 115.4 kB / 16.37 MB, free: 6.016 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.001851/0.001851, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6383/0.6383, allocations: 89.49 MB / 380.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 80.16 kB / 459.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 67.31 MB / 0.5146 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.6896/0.7965, allocations: 258.4 MB / 0.7669 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.8089, allocations: 12.74 MB / 0.7794 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.8097, allocations: 15.72 kB / 0.7794 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.8119, allocations: 0.9595 MB / 0.7803 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.8243, allocations: 5.347 MB / 0.7856 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.8297, allocations: 2.401 MB / 0.7879 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.832, allocations: 1.705 MB / 0.7896 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.8326, allocations: 354.7 kB / 0.7899 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.8345, allocations: 1.15 MB / 0.791 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.8353, allocations: 0.7408 MB / 0.7918 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.8355, allocations: 104.2 kB / 0.7919 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/0.8529, allocations: 10.6 MB / 0.8022 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.8535, allocations: 371.6 kB / 0.8026 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.8543, allocations: 0.6114 MB / 0.8032 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.8674, allocations: 5.758 MB / 0.8088 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8675, allocations: 0 / 0.8088 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8675, allocations: 0 / 0.8088 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.8675, allocations: 0.9375 kB / 0.8088 GB, free: 15.73 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.004649/0.8722, allocations: 2.436 MB / 0.8112 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.8722, allocations: 7.281 kB / 0.8112 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.8724, allocations: 130.7 kB / 0.8113 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/0.8731, allocations: 0.6134 MB / 0.8119 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.8732, allocations: 69.94 kB / 0.812 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.8733, allocations: 95 kB / 0.812 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.8749, allocations: 1.375 MB / 0.8134 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8749, allocations: 0 / 0.8134 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.875, allocations: 42.22 kB / 0.8134 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/0.8751, allocations: 85.67 kB / 0.8135 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.8768, allocations: 1.51 MB / 0.815 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005041/0.8818, allocations: 5.091 MB / 0.82 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.883, allocations: 0.8425 MB / 0.8208 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/0.8838, allocations: 0.6662 MB / 0.8214 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.8854, allocations: 2.407 MB / 0.8238 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.8854, allocations: 51.06 kB / 0.8238 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 2.474e-06/0.8854, allocations: 0.9688 kB / 0.8238 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.003179/0.8886, allocations: 2.061 MB / 0.8258 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.8887, allocations: 90.33 kB / 0.8259 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.8893, allocations: 0.6153 MB / 0.8265 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.8893, allocations: 42.55 kB / 0.8266 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.8895, allocations: 392.3 kB / 0.8269 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.8898, allocations: 395.3 kB / 0.8273 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.89, allocations: 186.7 kB / 0.8275 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.8901, allocations: 342.9 kB / 0.8278 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.8907, allocations: 459.5 kB / 0.8283 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.8914, allocations: 0.5199 MB / 0.8288 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.8928, allocations: 1.049 MB / 0.8298 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8928, allocations: 7.875 kB / 0.8298 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001987/0.8948, allocations: 1.36 MB / 0.8311 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8948, allocations: 8.625 kB / 0.8311 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8948, allocations: 0 / 0.8311 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.8952, allocations: 123.8 kB / 0.8313 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.8958, allocations: 184.8 kB / 0.8314 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.8982, allocations: 3.349 MB / 0.8347 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.8987, allocations: 83.66 kB / 0.8348 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.8988, allocations: 59.36 kB / 0.8348 GB, free: 15.89 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.0003245/0.8992, allocations: 260.7 kB / 0.8351 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.8993, allocations: 94.88 kB / 0.8352 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.9024, allocations: 2.016 MB / 0.8371 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.9025, allocations: 16 kB / 0.8372 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9025, allocations: 6.531 kB / 0.8372 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.9025, allocations: 3.984 kB / 0.8372 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.9063, allocations: 2.896 MB / 0.84 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9063, allocations: 0 / 0.84 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.9069, allocations: 174.1 kB / 0.8402 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.9072, allocations: 124.7 kB / 0.8403 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.9073, allocations: 51.41 kB / 0.8403 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.9097, allocations: 3.353 MB / 0.8436 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9097, allocations: 1.812 kB / 0.8436 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.9126, allocations: 2.192 MB / 0.8458 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.9128, allocations: 175.8 kB / 0.8459 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9129, allocations: 31.22 kB / 0.8459 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.9134, allocations: 19.94 kB / 0.846 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9135, allocations: 92.98 kB / 0.8461 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.9136, allocations: 59.97 kB / 0.8461 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000491/0.9141, allocations: 491.1 kB / 0.8466 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.9141, allocations: 0 / 0.8466 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002239/0.9164, allocations: 0.9884 MB / 0.8475 GB, free: 3.75 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.002271/0.9186, allocations: 1.265 MB / 0.8488 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.9207, allocations: 1.478 MB / 0.8502 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9207, allocations: 0 / 0.8502 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9219, allocations: 0.928 MB / 0.8511 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.9234, allocations: 397.3 kB / 0.8515 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.9267, allocations: 2.083 MB / 0.8535 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.9273, allocations: 1.086 MB / 0.8546 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001176/0.9285, allocations: 0.6546 MB / 0.8552 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.9288, allocations: 111.4 kB / 0.8554 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.9288, allocations: 0 / 0.8554 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.1463/1.075, allocations: 35.27 MB / 0.8898 GB, free: 8.949 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 cvode -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