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.001286/0.001286, allocations: 81.47 kB / 19.77 MB, free: 2.027 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.001367/0.001367, allocations: 160.5 kB / 23.01 MB, free: 4.945 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 9.242 MB / 190.1 MB " [Timeout remaining time 179] 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.73/0.73, allocations: 79.61 MB / 339.4 MB, free: 11.5 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.002618/0.002618, allocations: 84.16 kB / 0.4924 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1215, allocations: 74.59 MB / 0.5652 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5686/0.6901, allocations: 226.5 MB / 0.7864 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.7063, allocations: 11.77 MB / 0.7979 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.7077, allocations: 107.8 kB / 0.798 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.7102, allocations: 0.872 MB / 0.7989 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.7247, allocations: 5.496 MB / 0.8042 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006537/0.7313, allocations: 2.461 MB / 0.8067 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.7342, allocations: 2.069 MB / 0.8087 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.7348, allocations: 241.3 kB / 0.8089 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.7382, allocations: 1.738 MB / 0.8106 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.7394, allocations: 0.7744 MB / 0.8114 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7395, allocations: 100.3 kB / 0.8115 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.7577, allocations: 8.76 MB / 0.82 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/0.7584, allocations: 390.6 kB / 0.8204 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009677/0.7594, allocations: 0.5751 MB / 0.8209 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.774, allocations: 5.822 MB / 0.8266 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.774, allocations: 4 kB / 0.8266 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.774, allocations: 0 / 0.8266 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.774, allocations: 0 / 0.8266 GB, free: 7.938 MB / 0.6387 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.006176/0.7802, allocations: 2.748 MB / 0.8293 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7802, allocations: 8.031 kB / 0.8293 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.7806, allocations: 182.8 kB / 0.8295 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.7825, allocations: 0.9785 MB / 0.8305 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.7826, allocations: 77.97 kB / 0.8305 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.7828, allocations: 95.95 kB / 0.8306 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.785, allocations: 1.424 MB / 0.832 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.785, allocations: 0 / 0.832 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.7851, allocations: 36 kB / 0.832 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.7853, allocations: 97.88 kB / 0.8321 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.7877, allocations: 1.554 MB / 0.8337 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007109/0.7948, allocations: 3.723 MB / 0.8373 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.7963, allocations: 0.7759 MB / 0.838 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/0.7973, allocations: 0.5864 MB / 0.8386 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009985/0.7983, allocations: 320.7 kB / 0.8389 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.7983, allocations: 43.56 kB / 0.839 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=114): time 3.547e-06/0.7983, allocations: 0 / 0.839 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=114): time 0.00418/0.8025, allocations: 1.938 MB / 0.8409 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.8026, allocations: 98.05 kB / 0.841 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.8036, allocations: 0.8005 MB / 0.8417 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.8037, allocations: 45.69 kB / 0.8418 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.8041, allocations: 0.5448 MB / 0.8423 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.8045, allocations: 408.4 kB / 0.8427 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.8048, allocations: 186.6 kB / 0.8429 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8049, allocations: 337.9 kB / 0.8432 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007627/0.8057, allocations: 461.8 kB / 0.8436 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00088/0.8066, allocations: 0.5161 MB / 0.8441 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.8084, allocations: 1.048 MB / 0.8452 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8084, allocations: 7.938 kB / 0.8452 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002558/0.8109, allocations: 1.381 MB / 0.8465 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8109, allocations: 4 kB / 0.8465 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8109, allocations: 1.75 kB / 0.8465 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.8114, allocations: 125.6 kB / 0.8466 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.8121, allocations: 183.8 kB / 0.8468 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.8152, allocations: 3.077 MB / 0.8498 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.8157, allocations: 67.45 kB / 0.8499 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.8159, allocations: 71.84 kB / 0.85 GB, free: 15.52 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.000481/0.8164, allocations: 270.2 kB / 0.8502 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.8167, allocations: 135.1 kB / 0.8503 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.8204, allocations: 2.053 MB / 0.8524 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.8204, allocations: 12 kB / 0.8524 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8204, allocations: 3.984 kB / 0.8524 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.8204, allocations: 3.984 kB / 0.8524 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.8249, allocations: 2.66 MB / 0.855 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.825, allocations: 8.062 kB / 0.855 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.8256, allocations: 175.7 kB / 0.8551 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.826, allocations: 121.6 kB / 0.8553 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-05/0.8261, allocations: 47.89 kB / 0.8553 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003023/0.8291, allocations: 3.088 MB / 0.8583 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8291, allocations: 0 / 0.8583 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.8328, allocations: 2.223 MB / 0.8605 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.833, allocations: 127 kB / 0.8606 GB, free: 4.285 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.8332, allocations: 23.95 kB / 0.8606 GB, free: 4.262 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.8336, allocations: 23.98 kB / 0.8607 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8338, allocations: 84.84 kB / 0.8607 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.8339, allocations: 67.95 kB / 0.8608 GB, free: 4.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007971/0.8347, allocations: 0.5807 MB / 0.8614 GB, free: 3.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8347, allocations: 0 / 0.8614 GB, free: 3.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002499/0.8372, allocations: 1.04 MB / 0.8624 GB, free: 2.457 MB / 0.67 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.002567/0.8398, allocations: 1.298 MB / 0.8637 GB, free: 1.148 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.8423, allocations: 1.388 MB / 0.865 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8423, allocations: 0 / 0.865 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.8436, allocations: 0.8582 MB / 0.8659 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.8452, allocations: 369 kB / 0.8662 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.8495, allocations: 2.501 MB / 0.8686 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.8502, allocations: 0.6053 MB / 0.8692 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001394/0.8516, allocations: 0.671 MB / 0.8699 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.8519, allocations: 132.5 kB / 0.87 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.8519, allocations: 4 kB / 0.87 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of Templates: time 0.0618/0.9137, allocations: 35.42 MB / 0.9046 GB, free: 7.383 MB / 0.7169 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/jenkins1/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.22968755941838]