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.000897/0.000897, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009369/0.0009369, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.8912/0.8912, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6559/0.6559, allocations: 118.6 MB / 378.9 MB, free: 1.355 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.097e-05, allocations: 6.25 kB / 430.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.243/0.243, allocations: 149.5 MB / 0.5667 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.2459, allocations: 2.753 MB / 0.5694 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.2463, allocations: 118.9 kB / 0.5695 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.2468, allocations: 293.4 kB / 0.5698 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.2492, allocations: 1.767 MB / 0.5715 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009354/0.2502, allocations: 0.7478 MB / 0.5722 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2515, allocations: 2.327 MB / 0.5745 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.2518, allocations: 262.2 kB / 0.5748 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.2531, allocations: 1.445 MB / 0.5762 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.2536, allocations: 0.6814 MB / 0.5768 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.2537, allocations: 100 kB / 0.5769 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.2555, allocations: 1.645 MB / 0.5785 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.2558, allocations: 430.4 kB / 0.579 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.2561, allocations: 0.4987 MB / 0.5794 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.2579, allocations: 2.34 MB / 0.5817 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2579, allocations: 0 / 0.5817 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2579, allocations: 0 / 0.5817 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.2579, allocations: 0 / 0.5817 GB, free: 6.453 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002281/0.2602, allocations: 2.151 MB / 0.5838 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.2602, allocations: 8.031 kB / 0.5838 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2604, allocations: 208.6 kB / 0.584 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.2618, allocations: 1.034 MB / 0.585 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.2618, allocations: 70 kB / 0.5851 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.2619, allocations: 107.9 kB / 0.5852 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.2626, allocations: 0.7878 MB / 0.586 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2627, allocations: 0 / 0.586 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.2627, allocations: 40 kB / 0.586 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.2628, allocations: 89.95 kB / 0.5861 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.2633, allocations: 475.2 kB / 0.5866 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.2664, allocations: 2.863 MB / 0.5894 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.267, allocations: 0.5102 MB / 0.5899 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.2672, allocations: 254.1 kB / 0.5901 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.2675, allocations: 129.5 kB / 0.5902 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2675, allocations: 51.44 kB / 0.5903 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 2.434e-06/0.2675, allocations: 0 / 0.5903 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=114): time 0.001303/0.2688, allocations: 0.9174 MB / 0.5912 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.2689, allocations: 94.11 kB / 0.5913 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.2695, allocations: 0.7911 MB / 0.592 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.2696, allocations: 41.7 kB / 0.5921 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2698, allocations: 408.7 kB / 0.5925 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.27, allocations: 412.3 kB / 0.5928 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2701, allocations: 178.5 kB / 0.593 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.2702, allocations: 349.8 kB / 0.5934 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.2704, allocations: 152.7 kB / 0.5935 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.2706, allocations: 230.2 kB / 0.5937 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.2711, allocations: 495.4 kB / 0.5942 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2712, allocations: 0 / 0.5942 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0007475/0.2719, allocations: 0.6467 MB / 0.5948 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2719, allocations: 8.062 kB / 0.5948 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2719, allocations: 5.859 kB / 0.5948 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.2722, allocations: 113.6 kB / 0.5949 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.2725, allocations: 179.8 kB / 0.5951 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.2738, allocations: 2.615 MB / 0.5977 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.274, allocations: 71.38 kB / 0.5977 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.2741, allocations: 51.97 kB / 0.5978 GB, free: 5.508 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * 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.0002006/0.2743, allocations: 160.5 kB / 0.5979 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2744, allocations: 127.7 kB / 0.5981 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.276, allocations: 1.269 MB / 0.5993 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.276, allocations: 12 kB / 0.5993 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.276, allocations: 4 kB / 0.5993 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.276, allocations: 11.95 kB / 0.5993 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.2777, allocations: 1.608 MB / 0.6009 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2777, allocations: 0 / 0.6009 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.278, allocations: 171.7 kB / 0.6011 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.2783, allocations: 121.6 kB / 0.6012 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.2783, allocations: 39.91 kB / 0.6012 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.2795, allocations: 2.608 MB / 0.6038 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2795, allocations: 3.984 kB / 0.6038 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2806, allocations: 1.16 MB / 0.6049 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.2809, allocations: 194.8 kB / 0.6051 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.281, allocations: 35.94 kB / 0.6051 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.2812, allocations: 20 kB / 0.6051 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.2813, allocations: 88.77 kB / 0.6052 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.2813, allocations: 51.97 kB / 0.6053 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002808/0.2816, allocations: 424.8 kB / 0.6057 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2816, allocations: 4 kB / 0.6057 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008964/0.2825, allocations: 0.5573 MB / 0.6062 GB, free: 12.57 MB / 0.5573 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.0005281/0.283, allocations: 421.2 kB / 0.6066 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007965/0.2838, allocations: 0.8204 MB / 0.6074 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.2839, allocations: 8 kB / 0.6074 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.2843, allocations: 0.6029 MB / 0.608 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.2855, allocations: 0.5459 MB / 0.6086 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.2881, allocations: 2.291 MB / 0.6108 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2883, allocations: 274.6 kB / 0.6111 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007034/0.289, allocations: 0.5399 MB / 0.6116 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/0.2897, allocations: 427.1 kB / 0.612 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2897, allocations: 0 / 0.612 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of Templates: time 0.02847/0.3181, allocations: 27.79 MB / 0.6391 GB, free: 11.3 MB / 0.5886 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9612105451524258]