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.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.001819/0.001819, allocations: 75.75 kB / 19.76 MB, free: 2.02 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.001478/0.001478, allocations: 160.2 kB / 23 MB, free: 4.953 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.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8188/0.8188, allocations: 74.91 MB / 334.7 MB, free: 15.52 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.00258/0.00258, allocations: 88.72 kB / 496.4 MB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1568, allocations: 73.02 MB / 0.556 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.7027/0.8595, allocations: 226.8 MB / 0.7775 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.8773, allocations: 11.77 MB / 0.789 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.8792, allocations: 107.4 kB / 0.7891 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.8821, allocations: 0.8707 MB / 0.7899 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.9003, allocations: 5.497 MB / 0.7953 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007972/0.9082, allocations: 2.462 MB / 0.7977 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.9117, allocations: 2.063 MB / 0.7997 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.9122, allocations: 238 kB / 0.8 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.9155, allocations: 1.403 MB / 0.8013 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.9168, allocations: 0.7726 MB / 0.8021 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.917, allocations: 99.19 kB / 0.8022 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02039/0.9373, allocations: 8.765 MB / 0.8107 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008835/0.9382, allocations: 382.5 kB / 0.8111 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.9395, allocations: 0.5712 MB / 0.8117 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0204/0.9599, allocations: 5.826 MB / 0.8173 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.9599, allocations: 0 / 0.8173 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9599, allocations: 0 / 0.8173 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.9599, allocations: 0 / 0.8173 GB, free: 5.598 MB / 0.6231 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.007015/0.9669, allocations: 2.761 MB / 0.82 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.967, allocations: 8.031 kB / 0.8201 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.9674, allocations: 186.8 kB / 0.8202 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.9694, allocations: 0.9702 MB / 0.8212 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.9695, allocations: 73.92 kB / 0.8212 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.9697, allocations: 104 kB / 0.8213 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.972, allocations: 1.42 MB / 0.8227 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.9721, allocations: 0 / 0.8227 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.9722, allocations: 39.98 kB / 0.8228 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.9723, allocations: 85.91 kB / 0.8229 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.9747, allocations: 1.562 MB / 0.8244 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.9819, allocations: 3.724 MB / 0.828 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9835, allocations: 0.7669 MB / 0.8288 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.9845, allocations: 0.596 MB / 0.8293 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.9856, allocations: 316.7 kB / 0.8296 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.9856, allocations: 43.56 kB / 0.8297 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 3.206e-06/0.9856, allocations: 0 / 0.8297 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.004282/0.9899, allocations: 1.957 MB / 0.8316 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.99, allocations: 90.05 kB / 0.8317 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.991, allocations: 0.8005 MB / 0.8325 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/0.9911, allocations: 45.7 kB / 0.8325 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.9916, allocations: 0.5448 MB / 0.833 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.992, allocations: 416.4 kB / 0.8334 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.9923, allocations: 178.6 kB / 0.8336 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.9925, allocations: 345.9 kB / 0.8339 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.9933, allocations: 461.8 kB / 0.8344 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.9942, allocations: 0.5161 MB / 0.8349 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.996, allocations: 1.045 MB / 0.8359 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.996, allocations: 0 / 0.8359 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0026/0.9986, allocations: 1.385 MB / 0.8373 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.9986, allocations: 5.25 kB / 0.8373 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9986, allocations: 4 kB / 0.8373 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.9991, allocations: 117.2 kB / 0.8374 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.9998, allocations: 187.8 kB / 0.8376 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/1.003, allocations: 3.081 MB / 0.8406 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/1.004, allocations: 59.55 kB / 0.8406 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/1.004, allocations: 63.97 kB / 0.8407 GB, free: 13.18 MB / 0.6544 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.000561/1.004, allocations: 281.7 kB / 0.841 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/1.005, allocations: 135.2 kB / 0.8411 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/1.009, allocations: 2.043 MB / 0.8431 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.009, allocations: 12 kB / 0.8431 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.009, allocations: 7.984 kB / 0.8431 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.009, allocations: 3.984 kB / 0.8431 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/1.013, allocations: 2.664 MB / 0.8457 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.013, allocations: 4 kB / 0.8457 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/1.014, allocations: 167.8 kB / 0.8459 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/1.015, allocations: 129.5 kB / 0.846 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.625e-05/1.015, allocations: 48.03 kB / 0.846 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/1.018, allocations: 3.081 MB / 0.849 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.018, allocations: 8.062 kB / 0.8491 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/1.022, allocations: 2.223 MB / 0.8512 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/1.022, allocations: 123 kB / 0.8513 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.022, allocations: 24 kB / 0.8514 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/1.022, allocations: 19.98 kB / 0.8514 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.023, allocations: 92.83 kB / 0.8515 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.023, allocations: 55.97 kB / 0.8515 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008787/1.024, allocations: 0.5925 MB / 0.8521 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.024, allocations: 0 / 0.8521 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003223/1.027, allocations: 1.044 MB / 0.8531 GB, free: 100 kB / 0.6544 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.003007/1.03, allocations: 1.291 MB / 0.8544 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002741/1.033, allocations: 1.392 MB / 0.8557 GB, free: 13.38 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.033, allocations: 0 / 0.8557 GB, free: 13.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.034, allocations: 0.862 MB / 0.8566 GB, free: 12.49 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.036, allocations: 374.6 kB / 0.8569 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/1.041, allocations: 2.488 MB / 0.8594 GB, free: 9.609 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/1.041, allocations: 0.6131 MB / 0.86 GB, free: 8.961 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001446/1.043, allocations: 0.6685 MB / 0.8606 GB, free: 8.293 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1.043, allocations: 136.5 kB / 0.8608 GB, free: 8.16 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/1.043, allocations: 0 / 0.8608 GB, free: 8.16 MB / 0.67 GB Notification: Performance of Templates: time 0.06373/1.107, allocations: 35.42 MB / 0.8953 GB, free: 5.027 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.22289837594144]