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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6163/0.6163, allocations: 90.3 MB / 394.8 MB, free: 3.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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 0.002334/0.002334, allocations: 83.86 kB / 0.5386 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4172, allocations: 70.83 MB / 0.6078 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.3208/0.738, allocations: 260.2 MB / 0.8619 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3801/1.118, allocations: 12.84 MB / 0.8744 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/1.119, allocations: 16.22 kB / 0.8745 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.121, allocations: 1.005 MB / 0.8754 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01493/1.136, allocations: 5.412 MB / 0.8807 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007063/1.143, allocations: 2.426 MB / 0.8831 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003707/1.147, allocations: 1.707 MB / 0.8848 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/1.148, allocations: 224.6 kB / 0.885 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/1.151, allocations: 1.162 MB / 0.8861 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.152, allocations: 0.77 MB / 0.8869 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/1.152, allocations: 99.12 kB / 0.8869 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02417/1.176, allocations: 10.97 MB / 0.8977 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007549/1.177, allocations: 368.6 kB / 0.898 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/1.178, allocations: 0.6112 MB / 0.8986 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01433/1.192, allocations: 5.78 MB / 0.9043 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.192, allocations: 1.031 kB / 0.9043 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/1.192, allocations: 0 / 0.9043 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.517e-05/1.192, allocations: 0 / 0.9043 GB, free: 1.48 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.0057/1.198, allocations: 2.518 MB / 0.9067 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.198, allocations: 12.09 kB / 0.9067 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/1.198, allocations: 132.5 kB / 0.9068 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/1.199, allocations: 0.6167 MB / 0.9075 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/1.199, allocations: 71.34 kB / 0.9075 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.199, allocations: 94.83 kB / 0.9076 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.201, allocations: 1.373 MB / 0.909 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.201, allocations: 4.062 kB / 0.909 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/1.201, allocations: 42 kB / 0.909 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-05/1.201, allocations: 88.92 kB / 0.9091 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.203, allocations: 1.511 MB / 0.9106 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/1.209, allocations: 5.095 MB / 0.9155 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.21, allocations: 0.7719 MB / 0.9163 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/1.211, allocations: 0.5944 MB / 0.9169 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/1.213, allocations: 2.409 MB / 0.9192 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.213, allocations: 46.12 kB / 0.9193 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=114): time 3.407e-06/1.213, allocations: 0 / 0.9193 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=114): time 0.003861/1.217, allocations: 2.068 MB / 0.9213 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/1.217, allocations: 89.14 kB / 0.9214 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/1.218, allocations: 0.6187 MB / 0.922 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/1.218, allocations: 42.23 kB / 0.922 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/1.218, allocations: 397.3 kB / 0.9224 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/1.219, allocations: 404.8 kB / 0.9228 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/1.219, allocations: 185.6 kB / 0.923 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.219, allocations: 343.3 kB / 0.9233 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/1.22, allocations: 465.1 kB / 0.9237 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/1.221, allocations: 0.5247 MB / 0.9242 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/1.222, allocations: 1.043 MB / 0.9253 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.222, allocations: 2.906 kB / 0.9253 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002328/1.225, allocations: 1.348 MB / 0.9266 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.225, allocations: 10.34 kB / 0.9266 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.225, allocations: 0 / 0.9266 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/1.225, allocations: 121.8 kB / 0.9267 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/1.226, allocations: 185.4 kB / 0.9269 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/1.229, allocations: 3.358 MB / 0.9302 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/1.23, allocations: 78.47 kB / 0.9302 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.23, allocations: 64.84 kB / 0.9303 GB, free: 5.805 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.0005861/1.23, allocations: 268.2 kB / 0.9305 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/1.231, allocations: 102.3 kB / 0.9306 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/1.234, allocations: 2.012 MB / 0.9326 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/1.234, allocations: 11.59 kB / 0.9326 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.234, allocations: 2.375 kB / 0.9326 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.234, allocations: 13.39 kB / 0.9326 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/1.239, allocations: 2.884 MB / 0.9355 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.239, allocations: 0 / 0.9355 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/1.239, allocations: 173.2 kB / 0.9356 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/1.24, allocations: 128.6 kB / 0.9357 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/1.24, allocations: 42.61 kB / 0.9358 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/1.243, allocations: 3.362 MB / 0.9391 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.243, allocations: 0 / 0.9391 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/1.246, allocations: 2.201 MB / 0.9412 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/1.246, allocations: 186 kB / 0.9414 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.247, allocations: 23.38 kB / 0.9414 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/1.247, allocations: 21.83 kB / 0.9414 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.247, allocations: 84.02 kB / 0.9415 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.247, allocations: 64.91 kB / 0.9416 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005728/1.248, allocations: 486.8 kB / 0.942 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/1.248, allocations: 1 kB / 0.942 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00295/1.251, allocations: 0.9994 MB / 0.943 GB, free: 1.438 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.002535/1.253, allocations: 1.289 MB / 0.9443 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00213/1.256, allocations: 1.396 MB / 0.9456 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.256, allocations: 0.9375 kB / 0.9456 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.257, allocations: 0.8596 MB / 0.9465 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.258, allocations: 401.9 kB / 0.9469 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/1.262, allocations: 2.122 MB / 0.9489 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/1.263, allocations: 1.093 MB / 0.95 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001278/1.264, allocations: 0.6382 MB / 0.9506 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/1.264, allocations: 114.1 kB / 0.9507 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.264, allocations: 4.141 kB / 0.9507 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of Templates: time 0.0586/1.323, allocations: 36.06 MB / 0.986 GB, free: 14.54 MB / 0.7481 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 -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/jenkins/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.027855102904141]