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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6878/0.6878, allocations: 94.57 MB / 399.6 MB, free: 15.57 MB / 318.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002219/0.002219, allocations: 84.31 kB / 0.5452 GB, free: 42.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1032, allocations: 71.85 MB / 0.6154 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5377/0.6408, allocations: 259.9 MB / 0.8692 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.6566, allocations: 12.98 MB / 0.8818 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.6579, allocations: 75.56 kB / 0.8819 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.6604, allocations: 1.037 MB / 0.8829 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.6741, allocations: 5.539 MB / 0.8883 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006005/0.6801, allocations: 2.433 MB / 0.8907 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.683, allocations: 2.064 MB / 0.8927 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.6834, allocations: 264.1 kB / 0.893 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.6858, allocations: 1.354 MB / 0.8943 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009133/0.6867, allocations: 0.8321 MB / 0.8951 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.6869, allocations: 100 kB / 0.8952 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01894/0.7058, allocations: 10.96 MB / 0.9059 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.7064, allocations: 394.5 kB / 0.9063 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000889/0.7073, allocations: 0.7031 MB / 0.907 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.7213, allocations: 6.088 MB / 0.9129 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7213, allocations: 0 / 0.9129 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7213, allocations: 0 / 0.9129 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.7213, allocations: 0 / 0.9129 GB, free: 11.23 MB / 0.6544 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.005704/0.727, allocations: 2.836 MB / 0.9157 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7271, allocations: 12.03 kB / 0.9157 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.7274, allocations: 170.9 kB / 0.9159 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.7292, allocations: 1.073 MB / 0.9169 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.7292, allocations: 69.98 kB / 0.917 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7294, allocations: 103.9 kB / 0.9171 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.7315, allocations: 1.404 MB / 0.9184 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7315, allocations: 0 / 0.9184 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.7316, allocations: 39.98 kB / 0.9185 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.7317, allocations: 89.95 kB / 0.9186 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.7338, allocations: 1.527 MB / 0.9201 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007531/0.7413, allocations: 5.843 MB / 0.9258 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7428, allocations: 0.7816 MB / 0.9265 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.7437, allocations: 0.5946 MB / 0.9271 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.7458, allocations: 2.398 MB / 0.9295 GB, free: 9.109 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.7458, allocations: 43.69 kB / 0.9295 GB, free: 9.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=114): time 4.569e-06/0.7458, allocations: 7.984 kB / 0.9295 GB, free: 9.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=114): time 0.00392/0.7497, allocations: 2.1 MB / 0.9316 GB, free: 6.898 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.7498, allocations: 94.17 kB / 0.9316 GB, free: 6.789 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.7509, allocations: 0.912 MB / 0.9325 GB, free: 5.863 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.751, allocations: 49.69 kB / 0.9326 GB, free: 5.809 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.7514, allocations: 0.5455 MB / 0.9331 GB, free: 5.258 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.7517, allocations: 404.5 kB / 0.9335 GB, free: 4.859 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.752, allocations: 182.6 kB / 0.9337 GB, free: 4.676 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7522, allocations: 345.9 kB / 0.934 GB, free: 4.332 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.7529, allocations: 463.4 kB / 0.9344 GB, free: 3.879 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.7537, allocations: 0.5201 MB / 0.935 GB, free: 3.352 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.7554, allocations: 1.047 MB / 0.936 GB, free: 2.301 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7554, allocations: 0 / 0.936 GB, free: 2.301 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002372/0.7578, allocations: 1.395 MB / 0.9373 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7578, allocations: 7.938 kB / 0.9373 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7578, allocations: 0 / 0.9373 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/0.7582, allocations: 121.6 kB / 0.9375 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.7589, allocations: 187.7 kB / 0.9376 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.762, allocations: 3.351 MB / 0.9409 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.7625, allocations: 91.3 kB / 0.941 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.7627, allocations: 55.98 kB / 0.9411 GB, free: 12.8 MB / 0.6856 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.0004593/0.7631, allocations: 281.7 kB / 0.9413 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.7634, allocations: 139.1 kB / 0.9415 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.7669, allocations: 2.048 MB / 0.9435 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.7669, allocations: 12 kB / 0.9435 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7669, allocations: 4 kB / 0.9435 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.767, allocations: 7.969 kB / 0.9435 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.7714, allocations: 3.001 MB / 0.9464 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7714, allocations: 0 / 0.9464 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.7721, allocations: 167.8 kB / 0.9466 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.7725, allocations: 129.5 kB / 0.9467 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.7725, allocations: 51.95 kB / 0.9467 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002962/0.7755, allocations: 3.357 MB / 0.95 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7755, allocations: 4.031 kB / 0.95 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.7789, allocations: 2.237 MB / 0.9522 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.7791, allocations: 219.9 kB / 0.9524 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7793, allocations: 20 kB / 0.9524 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.7797, allocations: 20 kB / 0.9525 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.7799, allocations: 88.98 kB / 0.9525 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.78, allocations: 64.03 kB / 0.9526 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008521/0.7808, allocations: 0.674 MB / 0.9533 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.7808, allocations: 0 / 0.9533 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002417/0.7833, allocations: 1.016 MB / 0.9542 GB, free: 14.85 MB / 0.7012 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.00254/0.7858, allocations: 1.297 MB / 0.9555 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.7881, allocations: 1.39 MB / 0.9569 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7881, allocations: 0 / 0.9569 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.7894, allocations: 0.8627 MB / 0.9577 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.7911, allocations: 436.6 kB / 0.9581 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.7953, allocations: 2.563 MB / 0.9606 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.7962, allocations: 1.207 MB / 0.9618 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.7966, allocations: 163.4 kB / 0.962 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.7966, allocations: 0 / 0.962 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of Templates: time 0.05288/0.8495, allocations: 42.36 MB / 1.003 GB, free: 12.44 MB / 0.7481 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