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.001228/0.001228, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001366/0.001366, allocations: 218.5 kB / 23.01 MB, free: 4.566 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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.7147/0.7147, allocations: 100.3 MB / 413.5 MB, free: 3.699 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.002387/0.002387, allocations: 86.72 kB / 0.5645 GB, free: 35.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1141, allocations: 74.47 MB / 0.6372 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5456/0.6597, allocations: 260.8 MB / 0.8919 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.6766, allocations: 13.06 MB / 0.9047 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.678, allocations: 107.1 kB / 0.9048 GB, free: 48 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.6809, allocations: 1.034 MB / 0.9058 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.6957, allocations: 5.573 MB / 0.9112 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.7023, allocations: 2.49 MB / 0.9137 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.7054, allocations: 2.079 MB / 0.9157 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006243/0.706, allocations: 244 kB / 0.9159 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.7088, allocations: 1.417 MB / 0.9173 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.7101, allocations: 0.836 MB / 0.9181 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.7103, allocations: 100 kB / 0.9182 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.7304, allocations: 11.15 MB / 0.9291 GB, free: 7.035 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.731, allocations: 394.5 kB / 0.9295 GB, free: 6.648 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.732, allocations: 0.7109 MB / 0.9302 GB, free: 5.934 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.7462, allocations: 6.103 MB / 0.9361 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.7462, allocations: 4 kB / 0.9361 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7462, allocations: 0 / 0.9361 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.501e-05/0.7463, allocations: 0 / 0.9361 GB, free: 15.81 MB / 0.6856 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.006449/0.7527, allocations: 2.76 MB / 0.9388 GB, free: 13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7528, allocations: 12.03 kB / 0.9388 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.7531, allocations: 174.9 kB / 0.939 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.7552, allocations: 0.9785 MB / 0.94 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.7552, allocations: 73.98 kB / 0.94 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.7554, allocations: 99.89 kB / 0.9401 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.7576, allocations: 1.424 MB / 0.9415 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.7576, allocations: 3.984 kB / 0.9415 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.7577, allocations: 39.98 kB / 0.9416 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.7578, allocations: 89.95 kB / 0.9417 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.7601, allocations: 1.566 MB / 0.9432 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/0.7684, allocations: 5.798 MB / 0.9488 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.77, allocations: 0.7816 MB / 0.9496 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009332/0.7709, allocations: 0.6009 MB / 0.9502 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009811/0.7719, allocations: 316.7 kB / 0.9505 GB, free: 476 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.7719, allocations: 43.56 kB / 0.9505 GB, free: 420 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 2.945e-06/0.7719, allocations: 0 / 0.9505 GB, free: 420 kB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.004015/0.776, allocations: 1.954 MB / 0.9524 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.776, allocations: 94.05 kB / 0.9525 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.7773, allocations: 0.9237 MB / 0.9534 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/0.7774, allocations: 45.69 kB / 0.9535 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.7778, allocations: 0.5416 MB / 0.954 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.7782, allocations: 400.5 kB / 0.9544 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.7785, allocations: 186.6 kB / 0.9546 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7786, allocations: 345.9 kB / 0.9549 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007708/0.7794, allocations: 457.8 kB / 0.9553 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.7802, allocations: 0.5239 MB / 0.9558 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.7819, allocations: 1.041 MB / 0.9569 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.782, allocations: 4 kB / 0.9569 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002536/0.7845, allocations: 1.385 MB / 0.9582 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7845, allocations: 11.94 kB / 0.9582 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.7845, allocations: 4 kB / 0.9582 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.785, allocations: 121.4 kB / 0.9584 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.7857, allocations: 183.8 kB / 0.9585 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.7889, allocations: 3.151 MB / 0.9616 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.7894, allocations: 83.38 kB / 0.9617 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7896, allocations: 68.03 kB / 0.9617 GB, free: 4.613 MB / 0.7012 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.0005006/0.7901, allocations: 273.6 kB / 0.962 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.7904, allocations: 143 kB / 0.9621 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.7941, allocations: 2.038 MB / 0.9641 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.7942, allocations: 15.94 kB / 0.9642 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.7942, allocations: 7.984 kB / 0.9642 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.7942, allocations: 3.984 kB / 0.9642 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.7992, allocations: 2.966 MB / 0.9671 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7992, allocations: 0 / 0.9671 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.7998, allocations: 167.8 kB / 0.9672 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.8003, allocations: 141.5 kB / 0.9674 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.8004, allocations: 47.94 kB / 0.9674 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.8035, allocations: 3.154 MB / 0.9705 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8035, allocations: 0 / 0.9705 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.8072, allocations: 2.244 MB / 0.9727 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.8075, allocations: 138.8 kB / 0.9728 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.8077, allocations: 24 kB / 0.9728 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.8082, allocations: 16 kB / 0.9728 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.8084, allocations: 96.81 kB / 0.9729 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.8086, allocations: 64.03 kB / 0.973 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009728/0.8095, allocations: 0.6701 MB / 0.9736 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8095, allocations: 0 / 0.9736 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002694/0.8122, allocations: 1.028 MB / 0.9747 GB, free: 7.027 MB / 0.7169 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.003016/0.8152, allocations: 1.29 MB / 0.9759 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.8178, allocations: 1.392 MB / 0.9773 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8178, allocations: 0 / 0.9773 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8192, allocations: 0.862 MB / 0.9781 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.8212, allocations: 431.3 kB / 0.9785 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.826, allocations: 2.56 MB / 0.981 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.827, allocations: 1.195 MB / 0.9822 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.8275, allocations: 167.4 kB / 0.9824 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.8275, allocations: 0 / 0.9824 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.05793/0.8854, allocations: 42.5 MB / 1.024 GB, free: 4.488 MB / 0.7637 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/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: 12.855727921938524]