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.0009474/0.0009474, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001034/0.001034, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 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.7237/0.7237, allocations: 118.6 MB / 378.9 MB, free: 1.488 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.544e-05, allocations: 2.312 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5482/0.5482, allocations: 262.3 MB / 0.7284 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007204/0.5554, allocations: 6.2 MB / 0.7344 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.557, allocations: 117.4 kB / 0.7346 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.5593, allocations: 0.9065 MB / 0.7354 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.5744, allocations: 5.725 MB / 0.741 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006405/0.5808, allocations: 2.536 MB / 0.7435 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.5841, allocations: 2.342 MB / 0.7458 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.5847, allocations: 242.8 kB / 0.746 GB, free: 23.07 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.5877, allocations: 1.778 MB / 0.7478 GB, free: 22.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008218/0.5885, allocations: 0.7036 MB / 0.7485 GB, free: 21.86 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.5886, allocations: 102.3 kB / 0.7486 GB, free: 21.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/0.6041, allocations: 8.836 MB / 0.7572 GB, free: 18.2 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.6047, allocations: 426.5 kB / 0.7576 GB, free: 17.91 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.6055, allocations: 0.5015 MB / 0.7581 GB, free: 17.7 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.622, allocations: 6.274 MB / 0.7642 GB, free: 14.66 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.622, allocations: 0 / 0.7642 GB, free: 14.66 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.622, allocations: 0 / 0.7642 GB, free: 14.66 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.622, allocations: 0 / 0.7642 GB, free: 14.66 MB / 0.573 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.00569/0.6277, allocations: 2.94 MB / 0.7671 GB, free: 12.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6277, allocations: 10.28 kB / 0.7671 GB, free: 12.59 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.6282, allocations: 283.4 kB / 0.7674 GB, free: 12.45 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.6298, allocations: 1.136 MB / 0.7685 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.6298, allocations: 78.75 kB / 0.7685 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.6299, allocations: 103.9 kB / 0.7686 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.631, allocations: 0.8846 MB / 0.7695 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.631, allocations: 0 / 0.7695 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.6311, allocations: 39.67 kB / 0.7695 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.6312, allocations: 85.36 kB / 0.7696 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.6321, allocations: 0.6636 MB / 0.7703 GB, free: 10.9 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.6363, allocations: 3.793 MB / 0.774 GB, free: 8.188 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.6372, allocations: 0.5491 MB / 0.7745 GB, free: 7.953 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.6376, allocations: 364.3 kB / 0.7749 GB, free: 7.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/0.6383, allocations: 307.1 kB / 0.7752 GB, free: 7.691 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6383, allocations: 51.38 kB / 0.7752 GB, free: 7.637 MB / 0.573 GB Notification: Performance of pre-optimization done (n=114): time 4.499e-06/0.6383, allocations: 4 kB / 0.7752 GB, free: 7.633 MB / 0.573 GB Notification: Performance of matching and sorting (n=114): time 0.002267/0.6406, allocations: 1.361 MB / 0.7765 GB, free: 6.359 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.6406, allocations: 90.11 kB / 0.7766 GB, free: 6.25 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/0.6414, allocations: 0.877 MB / 0.7775 GB, free: 5.359 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.6415, allocations: 51.5 kB / 0.7775 GB, free: 5.305 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.6418, allocations: 0.6267 MB / 0.7781 GB, free: 4.672 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.642, allocations: 411.4 kB / 0.7785 GB, free: 4.277 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.6422, allocations: 194.5 kB / 0.7787 GB, free: 4.082 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6424, allocations: 0.516 MB / 0.7792 GB, free: 3.559 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.6427, allocations: 237.8 kB / 0.7794 GB, free: 3.324 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.6431, allocations: 334.4 kB / 0.7798 GB, free: 2.984 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008368/0.644, allocations: 0.6417 MB / 0.7804 GB, free: 2.328 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.644, allocations: 0 / 0.7804 GB, free: 2.328 MB / 0.573 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001439/0.6454, allocations: 1.026 MB / 0.7814 GB, free: 1.305 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6454, allocations: 8 kB / 0.7814 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6454, allocations: 0 / 0.7814 GB, free: 1.297 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.6458, allocations: 123.3 kB / 0.7815 GB, free: 1.168 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.6462, allocations: 190.1 kB / 0.7817 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.6486, allocations: 3.819 MB / 0.7854 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/0.6489, allocations: 69.91 kB / 0.7855 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.649, allocations: 63.97 kB / 0.7856 GB, free: 12.82 MB / 0.5886 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.000283/0.6493, allocations: 208.1 kB / 0.7858 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6495, allocations: 186.9 kB / 0.7859 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.6516, allocations: 1.592 MB / 0.7875 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.6516, allocations: 22.61 kB / 0.7875 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6516, allocations: 4 kB / 0.7875 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6516, allocations: 3.984 kB / 0.7875 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.6544, allocations: 2.254 MB / 0.7897 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6544, allocations: 0 / 0.7897 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.6548, allocations: 170.1 kB / 0.7899 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.6551, allocations: 131.3 kB / 0.79 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.6552, allocations: 43.97 kB / 0.79 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.6571, allocations: 3.827 MB / 0.7938 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6571, allocations: 6.516 kB / 0.7938 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.659, allocations: 1.598 MB / 0.7954 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.6594, allocations: 254.7 kB / 0.7956 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.6594, allocations: 23.52 kB / 0.7956 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.6597, allocations: 23.94 kB / 0.7956 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6598, allocations: 88.83 kB / 0.7957 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.6599, allocations: 62.5 kB / 0.7958 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004865/0.6604, allocations: 0.5839 MB / 0.7964 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.6604, allocations: 0 / 0.7964 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002347/0.6627, allocations: 1.066 MB / 0.7974 GB, free: 448 kB / 0.5886 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.002166/0.6649, allocations: 1.352 MB / 0.7987 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6663, allocations: 1.117 MB / 0.7998 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6663, allocations: 0 / 0.7998 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.6671, allocations: 0.8119 MB / 0.8006 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6685, allocations: 0.5519 MB / 0.8011 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.6721, allocations: 2.326 MB / 0.8034 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.6723, allocations: 274.5 kB / 0.8037 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001019/0.6734, allocations: 0.559 MB / 0.8042 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.6736, allocations: 144.4 kB / 0.8044 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of SimCode: time 2.575e-06/0.6736, allocations: 0 / 0.8044 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of Templates: time 0.0406/0.7142, allocations: 38.46 MB / 0.8419 GB, free: 3.418 MB / 0.6355 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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: 5.656136824982241]