Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.001892/0.001892, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002332/0.002332, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.648/1.648, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.052/1.052, allocations: 118.6 MB / 378.2 MB, free: 1.492 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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.912e-05, allocations: 5.266 kB / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06959/0.06963, allocations: 49.72 MB / 0.5201 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.08773, allocations: 11.54 MB / 0.5314 GB, free: 3.664 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.08854, allocations: 31.69 kB / 0.5314 GB, free: 3.633 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.08948, allocations: 258 kB / 0.5317 GB, free: 3.379 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.09154, allocations: 0.6169 MB / 0.5323 GB, free: 2.758 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.09419, allocations: 0.7737 MB / 0.533 GB, free: 1.98 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.09602, allocations: 1.034 MB / 0.534 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.09633, allocations: 106 kB / 0.5341 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04194/0.1383, allocations: 12.74 MB / 0.5466 GB, free: 3.988 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.139, allocations: 359 kB / 0.5469 GB, free: 3.637 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1391, allocations: 56 kB / 0.547 GB, free: 3.582 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1493/0.2884, allocations: 52.66 MB / 0.5984 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.2888, allocations: 163.3 kB / 0.5986 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.2894, allocations: 239.4 kB / 0.5988 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.2922, allocations: 1.207 MB / 0.6 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2922, allocations: 0 / 0.6 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2922, allocations: 8 kB / 0.6 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2922, allocations: 0 / 0.6 GB, free: 12.75 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002571/0.2948, allocations: 1.18 MB / 0.6011 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2948, allocations: 8.031 kB / 0.6011 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.2952, allocations: 140.4 kB / 0.6013 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.2962, allocations: 0.4902 MB / 0.6017 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.2963, allocations: 144.4 kB / 0.6019 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2964, allocations: 44.38 kB / 0.6019 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2976, allocations: 0.6275 MB / 0.6025 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.2977, allocations: 3.938 kB / 0.6025 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.2977, allocations: 20 kB / 0.6026 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.2978, allocations: 17 kB / 0.6026 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2989, allocations: 471.6 kB / 0.603 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.303, allocations: 2.073 MB / 0.605 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3046, allocations: 0.5646 MB / 0.6056 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.3053, allocations: 279.7 kB / 0.6059 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.3071, allocations: 356.1 kB / 0.6062 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3071, allocations: 41.89 kB / 0.6062 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.464e-06/0.3071, allocations: 0 / 0.6062 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004527/0.3116, allocations: 1.747 MB / 0.6079 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3117, allocations: 56.06 kB / 0.608 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.3123, allocations: 0.4947 MB / 0.6085 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.3124, allocations: 41.7 kB / 0.6085 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.3127, allocations: 324.3 kB / 0.6088 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.3129, allocations: 245.9 kB / 0.6091 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.3132, allocations: 132 kB / 0.6092 GB, free: 3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003674/0.3135, allocations: 0.5663 MB / 0.6097 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.314, allocations: 197.2 kB / 0.6099 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.3146, allocations: 301.2 kB / 0.6102 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3157, allocations: 0.5417 MB / 0.6108 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3157, allocations: 4 kB / 0.6108 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001834/0.3176, allocations: 0.7697 MB / 0.6115 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3176, allocations: 8 kB / 0.6115 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3176, allocations: 4 kB / 0.6115 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.3181, allocations: 139.3 kB / 0.6117 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.3187, allocations: 107.9 kB / 0.6118 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.3224, allocations: 2.891 MB / 0.6146 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.3228, allocations: 19.98 kB / 0.6146 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.3229, allocations: 32.02 kB / 0.6146 GB, free: 13.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.3232, allocations: 224.5 kB / 0.6148 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.3235, allocations: 103.5 kB / 0.6149 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.3257, allocations: 0.9966 MB / 0.6159 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3257, allocations: 11.94 kB / 0.6159 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3257, allocations: 3.984 kB / 0.6159 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3257, allocations: 8 kB / 0.6159 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.3288, allocations: 1.458 MB / 0.6174 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.3288, allocations: 3.984 kB / 0.6174 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.3293, allocations: 99.88 kB / 0.6175 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.3299, allocations: 143.2 kB / 0.6176 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.3299, allocations: 23.98 kB / 0.6176 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003555/0.3335, allocations: 2.899 MB / 0.6205 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3335, allocations: 0 / 0.6205 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.3361, allocations: 1.166 MB / 0.6216 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.3364, allocations: 115.5 kB / 0.6217 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.3365, allocations: 15.95 kB / 0.6217 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.3368, allocations: 16 kB / 0.6217 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3369, allocations: 52.39 kB / 0.6218 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.337, allocations: 27.98 kB / 0.6218 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004484/0.3374, allocations: 358.8 kB / 0.6221 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3374, allocations: 0 / 0.6221 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009905/0.3384, allocations: 307.4 kB / 0.6224 GB, free: 5.016 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007446/0.3391, allocations: 425.7 kB / 0.6228 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3409, allocations: 0.8557 MB / 0.6237 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3409, allocations: 0 / 0.6237 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3421, allocations: 0.6142 MB / 0.6243 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3434, allocations: 243.5 kB / 0.6245 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3459, allocations: 1.294 MB / 0.6258 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3463, allocations: 305.7 kB / 0.6261 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.3467, allocations: 132.5 kB / 0.6262 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.3469, allocations: 72.45 kB / 0.6263 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.3469, allocations: 0 / 0.6263 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of Templates: time 0.02889/0.3758, allocations: 15.39 MB / 0.6413 GB, free: 1.824 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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: 6.991887428914197]